public static final class TableFieldSchema.Builder extends GeneratedMessageV3.Builder<TableFieldSchema.Builder> implements TableFieldSchemaOrBuilder
A field in TableSchema.Protobuf type
google.cloud.asset.v1.TableFieldSchema
Modifier and Type | Method and Description |
---|---|
TableFieldSchema.Builder |
addAllFields(Iterable<? extends TableFieldSchema> values)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
addFields(int index,
TableFieldSchema.Builder builderForValue)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
addFields(int index,
TableFieldSchema value)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
addFields(TableFieldSchema.Builder builderForValue)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
addFields(TableFieldSchema value)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
addFieldsBuilder()
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
addFieldsBuilder(int index)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
TableFieldSchema |
build() |
TableFieldSchema |
buildPartial() |
TableFieldSchema.Builder |
clear() |
TableFieldSchema.Builder |
clearField()
The field name.
|
TableFieldSchema.Builder |
clearField(Descriptors.FieldDescriptor field) |
TableFieldSchema.Builder |
clearFields()
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
clearMode()
The field mode.
|
TableFieldSchema.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
TableFieldSchema.Builder |
clearType()
The field data type.
|
TableFieldSchema.Builder |
clone() |
TableFieldSchema |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getField()
The field name.
|
ByteString |
getFieldBytes()
The field name.
|
TableFieldSchema |
getFields(int index)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
getFieldsBuilder(int index)
Describes the nested schema fields if the type property is set
to RECORD.
|
List<TableFieldSchema.Builder> |
getFieldsBuilderList()
Describes the nested schema fields if the type property is set
to RECORD.
|
int |
getFieldsCount()
Describes the nested schema fields if the type property is set
to RECORD.
|
List<TableFieldSchema> |
getFieldsList()
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchemaOrBuilder |
getFieldsOrBuilder(int index)
Describes the nested schema fields if the type property is set
to RECORD.
|
List<? extends TableFieldSchemaOrBuilder> |
getFieldsOrBuilderList()
Describes the nested schema fields if the type property is set
to RECORD.
|
String |
getMode()
The field mode.
|
ByteString |
getModeBytes()
The field mode.
|
String |
getType()
The field data type.
|
ByteString |
getTypeBytes()
The field data type.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TableFieldSchema.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
TableFieldSchema.Builder |
mergeFrom(Message other) |
TableFieldSchema.Builder |
mergeFrom(TableFieldSchema other) |
TableFieldSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
TableFieldSchema.Builder |
removeFields(int index)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
TableFieldSchema.Builder |
setField(String value)
The field name.
|
TableFieldSchema.Builder |
setFieldBytes(ByteString value)
The field name.
|
TableFieldSchema.Builder |
setFields(int index,
TableFieldSchema.Builder builderForValue)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
setFields(int index,
TableFieldSchema value)
Describes the nested schema fields if the type property is set
to RECORD.
|
TableFieldSchema.Builder |
setMode(String value)
The field mode.
|
TableFieldSchema.Builder |
setModeBytes(ByteString value)
The field mode.
|
TableFieldSchema.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
TableFieldSchema.Builder |
setType(String value)
The field data type.
|
TableFieldSchema.Builder |
setTypeBytes(ByteString value)
The field data type.
|
TableFieldSchema.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public TableFieldSchema build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public TableFieldSchema buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public TableFieldSchema.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder mergeFrom(TableFieldSchema other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public TableFieldSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<TableFieldSchema.Builder>
IOException
public String getField()
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string field = 1;
getField
in interface TableFieldSchemaOrBuilder
public ByteString getFieldBytes()
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string field = 1;
getFieldBytes
in interface TableFieldSchemaOrBuilder
public TableFieldSchema.Builder setField(String value)
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string field = 1;
value
- The field to set.public TableFieldSchema.Builder clearField()
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string field = 1;
public TableFieldSchema.Builder setFieldBytes(ByteString value)
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string field = 1;
value
- The bytes for field to set.public String getType()
The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
string type = 2;
getType
in interface TableFieldSchemaOrBuilder
public ByteString getTypeBytes()
The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
string type = 2;
getTypeBytes
in interface TableFieldSchemaOrBuilder
public TableFieldSchema.Builder setType(String value)
The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
string type = 2;
value
- The type to set.public TableFieldSchema.Builder clearType()
The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
string type = 2;
public TableFieldSchema.Builder setTypeBytes(ByteString value)
The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
string type = 2;
value
- The bytes for type to set.public String getMode()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
getMode
in interface TableFieldSchemaOrBuilder
public ByteString getModeBytes()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
getModeBytes
in interface TableFieldSchemaOrBuilder
public TableFieldSchema.Builder setMode(String value)
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
value
- The mode to set.public TableFieldSchema.Builder clearMode()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
public TableFieldSchema.Builder setModeBytes(ByteString value)
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
value
- The bytes for mode to set.public List<TableFieldSchema> getFieldsList()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsList
in interface TableFieldSchemaOrBuilder
public int getFieldsCount()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsCount
in interface TableFieldSchemaOrBuilder
public TableFieldSchema getFields(int index)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFields
in interface TableFieldSchemaOrBuilder
public TableFieldSchema.Builder setFields(int index, TableFieldSchema value)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder setFields(int index, TableFieldSchema.Builder builderForValue)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder addFields(TableFieldSchema value)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder addFields(int index, TableFieldSchema value)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder addFields(TableFieldSchema.Builder builderForValue)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder addFields(int index, TableFieldSchema.Builder builderForValue)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder addAllFields(Iterable<? extends TableFieldSchema> values)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder clearFields()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder removeFields(int index)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder getFieldsBuilder(int index)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsOrBuilder
in interface TableFieldSchemaOrBuilder
public List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
getFieldsOrBuilderList
in interface TableFieldSchemaOrBuilder
public TableFieldSchema.Builder addFieldsBuilder()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public TableFieldSchema.Builder addFieldsBuilder(int index)
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public List<TableFieldSchema.Builder> getFieldsBuilderList()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
public final TableFieldSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
public final TableFieldSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<TableFieldSchema.Builder>
Copyright © 2022 Google LLC. All rights reserved.