public static final class ListInstanceConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListInstanceConfigsResponse.Builder> implements ListInstanceConfigsResponseOrBuilder
The response for ListInstanceConfigs.
Protobuf type google.spanner.admin.instance.v1.ListInstanceConfigsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllInstanceConfigs(Iterable<? extends InstanceConfig> values)
public ListInstanceConfigsResponse.Builder addAllInstanceConfigs(Iterable<? extends InstanceConfig> values)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.spanner.admin.instance.v1.InstanceConfig>
|
Returns
addInstanceConfigs(InstanceConfig value)
public ListInstanceConfigsResponse.Builder addInstanceConfigs(InstanceConfig value)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Returns
addInstanceConfigs(InstanceConfig.Builder builderForValue)
public ListInstanceConfigsResponse.Builder addInstanceConfigs(InstanceConfig.Builder builderForValue)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Returns
addInstanceConfigs(int index, InstanceConfig value)
public ListInstanceConfigsResponse.Builder addInstanceConfigs(int index, InstanceConfig value)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameters
Returns
addInstanceConfigs(int index, InstanceConfig.Builder builderForValue)
public ListInstanceConfigsResponse.Builder addInstanceConfigs(int index, InstanceConfig.Builder builderForValue)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameters
Returns
addInstanceConfigsBuilder()
public InstanceConfig.Builder addInstanceConfigsBuilder()
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Returns
addInstanceConfigsBuilder(int index)
public InstanceConfig.Builder addInstanceConfigsBuilder(int index)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInstanceConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListInstanceConfigsResponse build()
Returns
buildPartial()
public ListInstanceConfigsResponse buildPartial()
Returns
clear()
public ListInstanceConfigsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInstanceConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceConfigs()
public ListInstanceConfigsResponse.Builder clearInstanceConfigs()
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Returns
clearNextPageToken()
public ListInstanceConfigsResponse.Builder clearNextPageToken()
next_page_token
can be sent in a subsequent
ListInstanceConfigs call to
fetch more of the matching instance configurations.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInstanceConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListInstanceConfigsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListInstanceConfigsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstanceConfigs(int index)
public InstanceConfig getInstanceConfigs(int index)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Returns
getInstanceConfigsBuilder(int index)
public InstanceConfig.Builder getInstanceConfigsBuilder(int index)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Returns
getInstanceConfigsBuilderList()
public List<InstanceConfig.Builder> getInstanceConfigsBuilderList()
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Returns
getInstanceConfigsCount()
public int getInstanceConfigsCount()
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Returns
getInstanceConfigsList()
public List<InstanceConfig> getInstanceConfigsList()
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Returns
getInstanceConfigsOrBuilder(int index)
public InstanceConfigOrBuilder getInstanceConfigsOrBuilder(int index)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Returns
getInstanceConfigsOrBuilderList()
public List<? extends InstanceConfigOrBuilder> getInstanceConfigsOrBuilderList()
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Returns
Type | Description |
List<? extends com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
next_page_token
can be sent in a subsequent
ListInstanceConfigs call to
fetch more of the matching instance configurations.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
next_page_token
can be sent in a subsequent
ListInstanceConfigs call to
fetch more of the matching instance configurations.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ListInstanceConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListInstanceConfigsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ListInstanceConfigsResponse other)
public ListInstanceConfigsResponse.Builder mergeFrom(ListInstanceConfigsResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInstanceConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeInstanceConfigs(int index)
public ListInstanceConfigsResponse.Builder removeInstanceConfigs(int index)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListInstanceConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceConfigs(int index, InstanceConfig value)
public ListInstanceConfigsResponse.Builder setInstanceConfigs(int index, InstanceConfig value)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameters
Returns
setInstanceConfigs(int index, InstanceConfig.Builder builderForValue)
public ListInstanceConfigsResponse.Builder setInstanceConfigs(int index, InstanceConfig.Builder builderForValue)
The list of requested instance configurations.
repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1;
Parameters
Returns
setNextPageToken(String value)
public ListInstanceConfigsResponse.Builder setNextPageToken(String value)
next_page_token
can be sent in a subsequent
ListInstanceConfigs call to
fetch more of the matching instance configurations.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListInstanceConfigsResponse.Builder setNextPageTokenBytes(ByteString value)
next_page_token
can be sent in a subsequent
ListInstanceConfigs call to
fetch more of the matching instance configurations.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInstanceConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInstanceConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides