public static final class FieldType.EnumType.EnumValue.Builder extends GeneratedMessageV3.Builder<FieldType.EnumType.EnumValue.Builder> implements FieldType.EnumType.EnumValueOrBuilder
Protobuf type google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FieldType.EnumType.EnumValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FieldType.EnumType.EnumValue build()
buildPartial()
public FieldType.EnumType.EnumValue buildPartial()
clear()
public FieldType.EnumType.EnumValue.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public FieldType.EnumType.EnumValue.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FieldType.EnumType.EnumValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FieldType.EnumType.EnumValue.Builder clone()
Overrides
getDefaultInstanceForType()
public FieldType.EnumType.EnumValue getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FieldType.EnumType.EnumValue other)
public FieldType.EnumType.EnumValue.Builder mergeFrom(FieldType.EnumType.EnumValue other)
public FieldType.EnumType.EnumValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FieldType.EnumType.EnumValue.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FieldType.EnumType.EnumValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | String
The displayName to set.
|
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 | ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public FieldType.EnumType.EnumValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FieldType.EnumType.EnumValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FieldType.EnumType.EnumValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides