public static final class CloudInstanceResponse.Builder extends GeneratedMessageV3.Builder<CloudInstanceResponse.Builder> implements CloudInstanceResponseOrBuilder
CloudInstanceResponse contains results returned by cloud instance related
actions.
Protobuf type google.spanner.executor.v1.CloudInstanceResponse
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
addAllListedInstances(Iterable<? extends Instance> values)
public CloudInstanceResponse.Builder addAllListedInstances(Iterable<? extends Instance> values)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.spanner.admin.instance.v1.Instance>
|
addListedInstances(Instance value)
public CloudInstanceResponse.Builder addListedInstances(Instance value)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
addListedInstances(Instance.Builder builderForValue)
public CloudInstanceResponse.Builder addListedInstances(Instance.Builder builderForValue)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
addListedInstances(int index, Instance value)
public CloudInstanceResponse.Builder addListedInstances(int index, Instance value)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
addListedInstances(int index, Instance.Builder builderForValue)
public CloudInstanceResponse.Builder addListedInstances(int index, Instance.Builder builderForValue)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
addListedInstancesBuilder()
public Instance.Builder addListedInstancesBuilder()
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
addListedInstancesBuilder(int index)
public Instance.Builder addListedInstancesBuilder(int index)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudInstanceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudInstanceResponse build()
buildPartial()
public CloudInstanceResponse buildPartial()
clear()
public CloudInstanceResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CloudInstanceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstance()
public CloudInstanceResponse.Builder clearInstance()
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
clearListedInstances()
public CloudInstanceResponse.Builder clearListedInstances()
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
clearNextPageToken()
public CloudInstanceResponse.Builder clearNextPageToken()
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudInstanceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CloudInstanceResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public CloudInstanceResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstance()
public Instance getInstance()
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
Returns |
---|
Type | Description |
Instance | The instance.
|
getInstanceBuilder()
public Instance.Builder getInstanceBuilder()
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
getInstanceOrBuilder()
public InstanceOrBuilder getInstanceOrBuilder()
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
getListedInstances(int index)
public Instance getListedInstances(int index)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Parameter |
---|
Name | Description |
index | int
|
getListedInstancesBuilder(int index)
public Instance.Builder getListedInstancesBuilder(int index)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Parameter |
---|
Name | Description |
index | int
|
getListedInstancesBuilderList()
public List<Instance.Builder> getListedInstancesBuilderList()
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
getListedInstancesCount()
public int getListedInstancesCount()
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Returns |
---|
Type | Description |
int | |
getListedInstancesList()
public List<Instance> getListedInstancesList()
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
getListedInstancesOrBuilder(int index)
public InstanceOrBuilder getListedInstancesOrBuilder(int index)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Parameter |
---|
Name | Description |
index | int
|
getListedInstancesOrBuilderList()
public List<? extends InstanceOrBuilder> getListedInstancesOrBuilderList()
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Returns |
---|
Type | Description |
List<? extends com.google.spanner.admin.instance.v1.InstanceOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
hasInstance()
public boolean hasInstance()
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
Returns |
---|
Type | Description |
boolean | Whether the instance field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public CloudInstanceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudInstanceResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(CloudInstanceResponse other)
public CloudInstanceResponse.Builder mergeFrom(CloudInstanceResponse other)
mergeInstance(Instance value)
public CloudInstanceResponse.Builder mergeInstance(Instance value)
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudInstanceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeListedInstances(int index)
public CloudInstanceResponse.Builder removeListedInstances(int index)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public CloudInstanceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInstance(Instance value)
public CloudInstanceResponse.Builder setInstance(Instance value)
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
setInstance(Instance.Builder builderForValue)
public CloudInstanceResponse.Builder setInstance(Instance.Builder builderForValue)
Instance returned by GetCloudInstanceAction
.google.spanner.admin.instance.v1.Instance instance = 3;
setListedInstances(int index, Instance value)
public CloudInstanceResponse.Builder setListedInstances(int index, Instance value)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
setListedInstances(int index, Instance.Builder builderForValue)
public CloudInstanceResponse.Builder setListedInstances(int index, Instance.Builder builderForValue)
List of instances returned by ListCloudInstancesAction.
repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
setNextPageToken(String value)
public CloudInstanceResponse.Builder setNextPageToken(String value)
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public CloudInstanceResponse.Builder setNextPageTokenBytes(ByteString value)
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudInstanceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudInstanceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides