public static final class ListDeploymentResourcePoolsResponse.Builder extends GeneratedMessageV3.Builder<ListDeploymentResourcePoolsResponse.Builder> implements ListDeploymentResourcePoolsResponseOrBuilder
Response message for ListDeploymentResourcePools method.
Protobuf type google.cloud.aiplatform.v1beta1.ListDeploymentResourcePoolsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
public ListDeploymentResourcePoolsResponse.Builder addAllDeploymentResourcePools(Iterable<? extends DeploymentResourcePool> values)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.DeploymentResourcePool>
|
Returns
public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(DeploymentResourcePool value)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Returns
public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(DeploymentResourcePool.Builder builderForValue)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Returns
public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(int index, DeploymentResourcePool value)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameters
Returns
public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(int index, DeploymentResourcePool.Builder builderForValue)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameters
Returns
public DeploymentResourcePool.Builder addDeploymentResourcePoolsBuilder()
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Returns
public DeploymentResourcePool.Builder addDeploymentResourcePoolsBuilder(int index)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Returns
public ListDeploymentResourcePoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListDeploymentResourcePoolsResponse build()
Returns
public ListDeploymentResourcePoolsResponse buildPartial()
Returns
public ListDeploymentResourcePoolsResponse.Builder clear()
Returns
Overrides
public ListDeploymentResourcePoolsResponse.Builder clearDeploymentResourcePools()
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Returns
public ListDeploymentResourcePoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDeploymentResourcePoolsResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
public ListDeploymentResourcePoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListDeploymentResourcePoolsResponse.Builder clone()
Returns
Overrides
public ListDeploymentResourcePoolsResponse getDefaultInstanceForType()
Returns
public DeploymentResourcePool getDeploymentResourcePools(int index)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Returns
public DeploymentResourcePool.Builder getDeploymentResourcePoolsBuilder(int index)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Returns
public List<DeploymentResourcePool.Builder> getDeploymentResourcePoolsBuilderList()
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Returns
public int getDeploymentResourcePoolsCount()
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Returns
public List<DeploymentResourcePool> getDeploymentResourcePoolsList()
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Returns
public DeploymentResourcePoolOrBuilder getDeploymentResourcePoolsOrBuilder(int index)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Returns
public List<? extends DeploymentResourcePoolOrBuilder> getDeploymentResourcePoolsOrBuilderList()
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.DeploymentResourcePoolOrBuilder> | |
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListDeploymentResourcePoolsResponse.Builder mergeFrom(ListDeploymentResourcePoolsResponse other)
Parameter
Returns
public ListDeploymentResourcePoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListDeploymentResourcePoolsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListDeploymentResourcePoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListDeploymentResourcePoolsResponse.Builder removeDeploymentResourcePools(int index)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameter
Returns
public ListDeploymentResourcePoolsResponse.Builder setDeploymentResourcePools(int index, DeploymentResourcePool value)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameters
Returns
public ListDeploymentResourcePoolsResponse.Builder setDeploymentResourcePools(int index, DeploymentResourcePool.Builder builderForValue)
The DeploymentResourcePools from the specified location.
repeated .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;
Parameters
Returns
public ListDeploymentResourcePoolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDeploymentResourcePoolsResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListDeploymentResourcePoolsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListDeploymentResourcePoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListDeploymentResourcePoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides