Package com.google.cloud.dataplex.v1
Interface Schema.SchemaFieldOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Schema.SchemaField
,Schema.SchemaField.Builder
- Enclosing class:
- Schema
public static interface Schema.SchemaFieldOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.Schema.SchemaField
getFields(int index)
Optional.int
getFieldsCount()
Optional.List<Schema.SchemaField>
getFieldsList()
Optional.Schema.SchemaFieldOrBuilder
getFieldsOrBuilder(int index)
Optional.List<? extends Schema.SchemaFieldOrBuilder>
getFieldsOrBuilderList()
Optional.Schema.Mode
getMode()
Required.int
getModeValue()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.Schema.Type
getType()
Required.int
getTypeValue()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The name of the field. Must contain only letters, numbers and underscores, with a maximum length of 767 characters, and must begin with a letter or underscore.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The name of the field. Must contain only letters, numbers and underscores, with a maximum length of 767 characters, and must begin with a letter or underscore.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for name.
-
getDescription
String getDescription()
Optional. User friendly field description. Must be less than or equal to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. User friendly field description. Must be less than or equal to 1024 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for description.
-
getTypeValue
int getTypeValue()
Required. The type of field.
.google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for type.
-
getType
Schema.Type getType()
Required. The type of field.
.google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The type.
-
getModeValue
int getModeValue()
Required. Additional field semantics.
.google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for mode.
-
getMode
Schema.Mode getMode()
Required. Additional field semantics.
.google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The mode.
-
getFieldsList
List<Schema.SchemaField> getFieldsList()
Optional. Any nested field for complex types.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getFields
Schema.SchemaField getFields(int index)
Optional. Any nested field for complex types.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getFieldsCount
int getFieldsCount()
Optional. Any nested field for complex types.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getFieldsOrBuilderList
List<? extends Schema.SchemaFieldOrBuilder> getFieldsOrBuilderList()
Optional. Any nested field for complex types.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getFieldsOrBuilder
Schema.SchemaFieldOrBuilder getFieldsOrBuilder(int index)
Optional. Any nested field for complex types.
repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL];
-
-