- 3.58.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.asset.v1.TableFieldSchema> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
TableFieldSchema |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
TableFieldSchema.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TableFieldSchema |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TableFieldSchema.Builder |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TableFieldSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
build()
public TableFieldSchema build()
Returns | |
---|---|
Type | Description |
TableFieldSchema |
buildPartial()
public TableFieldSchema buildPartial()
Returns | |
---|---|
Type | Description |
TableFieldSchema |
clear()
public TableFieldSchema.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TableFieldSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TableFieldSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
clone()
public TableFieldSchema.Builder clone()
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
getDefaultInstanceForType()
public TableFieldSchema getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TableFieldSchema |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TableFieldSchema other)
public TableFieldSchema.Builder mergeFrom(TableFieldSchema other)
Parameter | |
---|---|
Name | Description |
other |
TableFieldSchema |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TableFieldSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TableFieldSchema.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableFieldSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TableFieldSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The field to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for field to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TableFieldSchema |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TableFieldSchema.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The mode to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for mode to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TableFieldSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TableFieldSchema.Builder |