public static final class ConfigVariable.MultiIntValues.Builder extends GeneratedMessage.Builder<ConfigVariable.MultiIntValues.Builder> implements ConfigVariable.MultiIntValuesOrBuilderThe config variable value of data type multi int.
Protobuf type google.cloud.apihub.v1.ConfigVariable.MultiIntValues
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConfigVariable.MultiIntValues.BuilderImplements
ConfigVariable.MultiIntValuesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllValues(Iterable<? extends Integer> values)
public ConfigVariable.MultiIntValues.Builder addAllValues(Iterable<? extends Integer> values)Optional. The config variable value of data type multi int.
repeated int32 values = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Integer>The values to add. |
| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
This builder for chaining. |
addValues(int value)
public ConfigVariable.MultiIntValues.Builder addValues(int value)Optional. The config variable value of data type multi int.
repeated int32 values = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe values to add. |
| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
This builder for chaining. |
build()
public ConfigVariable.MultiIntValues build()| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues |
|
buildPartial()
public ConfigVariable.MultiIntValues buildPartial()| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues |
|
clear()
public ConfigVariable.MultiIntValues.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
|
clearValues()
public ConfigVariable.MultiIntValues.Builder clearValues()Optional. The config variable value of data type multi int.
repeated int32 values = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ConfigVariable.MultiIntValues getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getValues(int index)
public int getValues(int index)Optional. The config variable value of data type multi int.
repeated int32 values = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The values at the given index. |
getValuesCount()
public int getValuesCount()Optional. The config variable value of data type multi int.
repeated int32 values = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of values. |
getValuesList()
public List<Integer> getValuesList()Optional. The config variable value of data type multi int.
repeated int32 values = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the values. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ConfigVariable.MultiIntValues other)
public ConfigVariable.MultiIntValues.Builder mergeFrom(ConfigVariable.MultiIntValues other)| Parameter | |
|---|---|
| Name | Description |
other |
ConfigVariable.MultiIntValues |
| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfigVariable.MultiIntValues.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConfigVariable.MultiIntValues.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
|
setValues(int index, int value)
public ConfigVariable.MultiIntValues.Builder setValues(int index, int value)Optional. The config variable value of data type multi int.
repeated int32 values = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe values to set. |
| Returns | |
|---|---|
| Type | Description |
ConfigVariable.MultiIntValues.Builder |
This builder for chaining. |