public static final class AspectType.MetadataTemplate.EnumValue.Builder extends GeneratedMessageV3.Builder<AspectType.MetadataTemplate.EnumValue.Builder> implements AspectType.MetadataTemplate.EnumValueOrBuilder
Definition of Enumvalue (to be used by enum fields)
Protobuf type google.cloud.dataplex.v1.AspectType.MetadataTemplate.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public AspectType.MetadataTemplate.EnumValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AspectType.MetadataTemplate.EnumValue build()
public AspectType.MetadataTemplate.EnumValue buildPartial()
public AspectType.MetadataTemplate.EnumValue.Builder clear()
Overrides
public AspectType.MetadataTemplate.EnumValue.Builder clearDeprecated()
Optional. Optional deprecation message to be set if an enum value needs
to be deprecated.
string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplate.EnumValue.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AspectType.MetadataTemplate.EnumValue.Builder clearIndex()
Required. Index for the enum. Cannot be modified.
int32 index = 1 [(.google.api.field_behavior) = REQUIRED];
public AspectType.MetadataTemplate.EnumValue.Builder clearName()
Required. Name of the enumvalue. This is the actual value that the
aspect will contain.
string name = 2 [(.google.api.field_behavior) = REQUIRED];
public AspectType.MetadataTemplate.EnumValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AspectType.MetadataTemplate.EnumValue.Builder clone()
Overrides
public AspectType.MetadataTemplate.EnumValue getDefaultInstanceForType()
public String getDeprecated()
Optional. Optional deprecation message to be set if an enum value needs
to be deprecated.
string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The deprecated.
|
public ByteString getDeprecatedBytes()
Optional. Optional deprecation message to be set if an enum value needs
to be deprecated.
string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for deprecated.
|
public Descriptors.Descriptor getDescriptorForType()
Overrides
Required. Index for the enum. Cannot be modified.
int32 index = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The index.
|
Required. Name of the enumvalue. This is the actual value that the
aspect will contain.
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. Name of the enumvalue. This is the actual value that the
aspect will contain.
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AspectType.MetadataTemplate.EnumValue.Builder mergeFrom(AspectType.MetadataTemplate.EnumValue other)
public AspectType.MetadataTemplate.EnumValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AspectType.MetadataTemplate.EnumValue.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final AspectType.MetadataTemplate.EnumValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AspectType.MetadataTemplate.EnumValue.Builder setDeprecated(String value)
Optional. Optional deprecation message to be set if an enum value needs
to be deprecated.
string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The deprecated to set.
|
public AspectType.MetadataTemplate.EnumValue.Builder setDeprecatedBytes(ByteString value)
Optional. Optional deprecation message to be set if an enum value needs
to be deprecated.
string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for deprecated to set.
|
public AspectType.MetadataTemplate.EnumValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AspectType.MetadataTemplate.EnumValue.Builder setIndex(int value)
Required. Index for the enum. Cannot be modified.
int32 index = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | int
The index to set.
|
public AspectType.MetadataTemplate.EnumValue.Builder setName(String value)
Required. Name of the enumvalue. This is the actual value that the
aspect will contain.
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The name to set.
|
public AspectType.MetadataTemplate.EnumValue.Builder setNameBytes(ByteString value)
Required. Name of the enumvalue. This is the actual value that the
aspect will contain.
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
public AspectType.MetadataTemplate.EnumValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AspectType.MetadataTemplate.EnumValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides