public static final class FieldType.EnumType.EnumValue.Builder extends GeneratedMessage.Builder<FieldType.EnumType.EnumValue.Builder> implements FieldType.EnumType.EnumValueOrBuilderProtobuf type google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FieldType.EnumType.EnumValue.BuilderImplements
FieldType.EnumType.EnumValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FieldType.EnumType.EnumValue build()| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue |
|
buildPartial()
public FieldType.EnumType.EnumValue buildPartial()| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue |
|
clear()
public FieldType.EnumType.EnumValue.Builder clear()| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue.Builder |
|
clearDisplayName()
public FieldType.EnumType.EnumValue.Builder clearDisplayName()Required. The display name of the enum value. Must not be an empty string.
The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FieldType.EnumType.EnumValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Required. The display name of the enum value. Must not be an empty string.
The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. The display name of the enum value. Must not be an empty string.
The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FieldType.EnumType.EnumValue other)
public FieldType.EnumType.EnumValue.Builder mergeFrom(FieldType.EnumType.EnumValue other)| Parameter | |
|---|---|
| Name | Description |
other |
FieldType.EnumType.EnumValue |
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FieldType.EnumType.EnumValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FieldType.EnumType.EnumValue.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue.Builder |
|
setDisplayName(String value)
public FieldType.EnumType.EnumValue.Builder setDisplayName(String value)Required. The display name of the enum value. Must not be an empty string.
The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public FieldType.EnumType.EnumValue.Builder setDisplayNameBytes(ByteString value)Required. The display name of the enum value. Must not be an empty string.
The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType.EnumValue.Builder |
This builder for chaining. |