public static final class AttributeValues.EnumAttributeValues.Builder extends GeneratedMessageV3.Builder<AttributeValues.EnumAttributeValues.Builder> implements AttributeValues.EnumAttributeValuesOrBuilder
The attribute values of data type enum.
Protobuf type google.cloud.apihub.v1.AttributeValues.EnumAttributeValues
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
addAllValues(Iterable<? extends Attribute.AllowedValue> values)
public AttributeValues.EnumAttributeValues.Builder addAllValues(Iterable<? extends Attribute.AllowedValue> values)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Attribute.AllowedValue>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttributeValues.EnumAttributeValues.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addValues(Attribute.AllowedValue value)
public AttributeValues.EnumAttributeValues.Builder addValues(Attribute.AllowedValue value)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
addValues(Attribute.AllowedValue.Builder builderForValue)
public AttributeValues.EnumAttributeValues.Builder addValues(Attribute.AllowedValue.Builder builderForValue)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
addValues(int index, Attribute.AllowedValue value)
public AttributeValues.EnumAttributeValues.Builder addValues(int index, Attribute.AllowedValue value)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
addValues(int index, Attribute.AllowedValue.Builder builderForValue)
public AttributeValues.EnumAttributeValues.Builder addValues(int index, Attribute.AllowedValue.Builder builderForValue)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
addValuesBuilder()
public Attribute.AllowedValue.Builder addValuesBuilder()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
addValuesBuilder(int index)
public Attribute.AllowedValue.Builder addValuesBuilder(int index)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
build()
public AttributeValues.EnumAttributeValues build()
buildPartial()
public AttributeValues.EnumAttributeValues buildPartial()
clear()
public AttributeValues.EnumAttributeValues.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AttributeValues.EnumAttributeValues.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AttributeValues.EnumAttributeValues.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValues()
public AttributeValues.EnumAttributeValues.Builder clearValues()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public AttributeValues.EnumAttributeValues.Builder clone()
Overrides
getDefaultInstanceForType()
public AttributeValues.EnumAttributeValues getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getValues(int index)
public Attribute.AllowedValue getValues(int index)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getValuesBuilder(int index)
public Attribute.AllowedValue.Builder getValuesBuilder(int index)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getValuesBuilderList()
public List<Attribute.AllowedValue.Builder> getValuesBuilderList()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
getValuesCount()
public int getValuesCount()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getValuesList()
public List<Attribute.AllowedValue> getValuesList()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
getValuesOrBuilder(int index)
public Attribute.AllowedValueOrBuilder getValuesOrBuilder(int index)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getValuesOrBuilderList()
public List<? extends Attribute.AllowedValueOrBuilder> getValuesOrBuilderList()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.apihub.v1.Attribute.AllowedValueOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AttributeValues.EnumAttributeValues other)
public AttributeValues.EnumAttributeValues.Builder mergeFrom(AttributeValues.EnumAttributeValues other)
public AttributeValues.EnumAttributeValues.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AttributeValues.EnumAttributeValues.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttributeValues.EnumAttributeValues.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeValues(int index)
public AttributeValues.EnumAttributeValues.Builder removeValues(int index)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public AttributeValues.EnumAttributeValues.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttributeValues.EnumAttributeValues.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AttributeValues.EnumAttributeValues.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValues(int index, Attribute.AllowedValue value)
public AttributeValues.EnumAttributeValues.Builder setValues(int index, Attribute.AllowedValue value)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
setValues(int index, Attribute.AllowedValue.Builder builderForValue)
public AttributeValues.EnumAttributeValues.Builder setValues(int index, Attribute.AllowedValue.Builder builderForValue)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];