- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public static final class TableFieldSchema.Builder extends GeneratedMessageV3.Builder<TableFieldSchema.Builder> implements TableFieldSchemaOrBuilder
A field in TableSchema.
Protobuf type google.cloud.asset.v1.TableFieldSchema
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TableFieldSchema.BuilderImplements
TableFieldSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFields(Iterable<? extends TableFieldSchema> values)
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;
Name | Description |
values |
Iterable<? extends com.google.cloud.asset.v1.TableFieldSchema> |
Type | Description |
TableFieldSchema.Builder |
addFields(TableFieldSchema value)
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;
Name | Description |
value |
TableFieldSchema |
Type | Description |
TableFieldSchema.Builder |
addFields(TableFieldSchema.Builder builderForValue)
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;
Name | Description |
builderForValue |
TableFieldSchema.Builder |
Type | Description |
TableFieldSchema.Builder |
addFields(int index, TableFieldSchema value)
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;
Name | Description |
index |
int |
value |
TableFieldSchema |
Type | Description |
TableFieldSchema.Builder |
addFields(int index, TableFieldSchema.Builder builderForValue)
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;
Name | Description |
index |
int |
builderForValue |
TableFieldSchema.Builder |
Type | Description |
TableFieldSchema.Builder |
addFieldsBuilder()
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;
Type | Description |
TableFieldSchema.Builder |
addFieldsBuilder(int index)
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;
Name | Description |
index |
int |
Type | Description |
TableFieldSchema.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TableFieldSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TableFieldSchema.Builder |
build()
public TableFieldSchema build()
Type | Description |
TableFieldSchema |
buildPartial()
public TableFieldSchema buildPartial()
Type | Description |
TableFieldSchema |
clear()
public TableFieldSchema.Builder clear()
Type | Description |
TableFieldSchema.Builder |
clearField()
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;
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TableFieldSchema.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
TableFieldSchema.Builder |
clearFields()
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;
Type | Description |
TableFieldSchema.Builder |
clearMode()
public TableFieldSchema.Builder clearMode()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TableFieldSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
TableFieldSchema.Builder |
clearType()
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;
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
clone()
public TableFieldSchema.Builder clone()
Type | Description |
TableFieldSchema.Builder |
getDefaultInstanceForType()
public TableFieldSchema getDefaultInstanceForType()
Type | Description |
TableFieldSchema |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getField()
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;
Type | Description |
String |
The field. |
getFieldBytes()
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;
Type | Description |
ByteString |
The bytes for field. |
getFields(int index)
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;
Name | Description |
index |
int |
Type | Description |
TableFieldSchema |
getFieldsBuilder(int index)
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;
Name | Description |
index |
int |
Type | Description |
TableFieldSchema.Builder |
getFieldsBuilderList()
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;
Type | Description |
List<Builder> |
getFieldsCount()
public int getFieldsCount()
Describes the nested schema fields if the type property is set to RECORD.
repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
Type | Description |
int |
getFieldsList()
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;
Type | Description |
List<TableFieldSchema> |
getFieldsOrBuilder(int index)
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;
Name | Description |
index |
int |
Type | Description |
TableFieldSchemaOrBuilder |
getFieldsOrBuilderList()
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;
Type | Description |
List<? extends com.google.cloud.asset.v1.TableFieldSchemaOrBuilder> |
getMode()
public String getMode()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
Type | Description |
String |
The mode. |
getModeBytes()
public ByteString getModeBytes()
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
Type | Description |
ByteString |
The bytes for mode. |
getType()
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;
Type | Description |
String |
The type. |
getTypeBytes()
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;
Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TableFieldSchema other)
public TableFieldSchema.Builder mergeFrom(TableFieldSchema other)
Name | Description |
other |
TableFieldSchema |
Type | Description |
TableFieldSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TableFieldSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
TableFieldSchema.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TableFieldSchema.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
TableFieldSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableFieldSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TableFieldSchema.Builder |
removeFields(int index)
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;
Name | Description |
index |
int |
Type | Description |
TableFieldSchema.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TableFieldSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TableFieldSchema.Builder |
setField(String value)
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;
Name | Description |
value |
String The field to set. |
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
setFieldBytes(ByteString value)
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;
Name | Description |
value |
ByteString The bytes for field to set. |
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
setFields(int index, TableFieldSchema value)
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;
Name | Description |
index |
int |
value |
TableFieldSchema |
Type | Description |
TableFieldSchema.Builder |
setFields(int index, TableFieldSchema.Builder builderForValue)
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;
Name | Description |
index |
int |
builderForValue |
TableFieldSchema.Builder |
Type | Description |
TableFieldSchema.Builder |
setMode(String value)
public TableFieldSchema.Builder setMode(String value)
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
Name | Description |
value |
String The mode to set. |
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
setModeBytes(ByteString value)
public TableFieldSchema.Builder setModeBytes(ByteString value)
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
string mode = 3;
Name | Description |
value |
ByteString The bytes for mode to set. |
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TableFieldSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
TableFieldSchema.Builder |
setType(String value)
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;
Name | Description |
value |
String The type to set. |
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
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;
Name | Description |
value |
ByteString The bytes for type to set. |
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TableFieldSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TableFieldSchema.Builder |