public static final class FieldSchema.Builder extends GeneratedMessage.Builder<FieldSchema.Builder> implements FieldSchemaOrBuilderSchema description of a metastore partition column.
Protobuf type google.cloud.bigquery.storage.v1beta.FieldSchema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FieldSchema.BuilderImplements
FieldSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FieldSchema build()| Returns | |
|---|---|
| Type | Description |
FieldSchema |
|
buildPartial()
public FieldSchema buildPartial()| Returns | |
|---|---|
| Type | Description |
FieldSchema |
|
clear()
public FieldSchema.Builder clear()| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
|
clearName()
public FieldSchema.Builder clearName()Required. The name of the column. The maximum length of the name is 1024 characters
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
This builder for chaining. |
clearType()
public FieldSchema.Builder clearType()Required. The type of the metastore partition column. Maximum allowed length is 1024 characters.
string type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FieldSchema getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FieldSchema |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the column. The maximum length of the name is 1024 characters
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the column. The maximum length of the name is 1024 characters
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public String getType()Required. The type of the metastore partition column. Maximum allowed length is 1024 characters.
string type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()Required. The type of the metastore partition column. Maximum allowed length is 1024 characters.
string type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FieldSchema other)
public FieldSchema.Builder mergeFrom(FieldSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
FieldSchema |
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FieldSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FieldSchema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
|
setName(String value)
public FieldSchema.Builder setName(String value)Required. The name of the column. The maximum length of the name is 1024 characters
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FieldSchema.Builder setNameBytes(ByteString value)Required. The name of the column. The maximum length of the name is 1024 characters
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
This builder for chaining. |
setType(String value)
public FieldSchema.Builder setType(String value)Required. The type of the metastore partition column. Maximum allowed length is 1024 characters.
string type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public FieldSchema.Builder setTypeBytes(ByteString value)Required. The type of the metastore partition column. Maximum allowed length is 1024 characters.
string type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
FieldSchema.Builder |
This builder for chaining. |