public static final class ListDeploymentsResponse.Builder extends GeneratedMessageV3.Builder<ListDeploymentsResponse.Builder> implements ListDeploymentsResponseOrBuilder
The ListDeployments method's
response.
Protobuf type google.cloud.apihub.v1.ListDeploymentsResponse
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
addAllDeployments(Iterable<? extends Deployment> values)
public ListDeploymentsResponse.Builder addAllDeployments(Iterable<? extends Deployment> values)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Deployment>
|
addDeployments(Deployment value)
public ListDeploymentsResponse.Builder addDeployments(Deployment value)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
addDeployments(Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder addDeployments(Deployment.Builder builderForValue)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
addDeployments(int index, Deployment value)
public ListDeploymentsResponse.Builder addDeployments(int index, Deployment value)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
addDeployments(int index, Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder addDeployments(int index, Deployment.Builder builderForValue)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
addDeploymentsBuilder()
public Deployment.Builder addDeploymentsBuilder()
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
addDeploymentsBuilder(int index)
public Deployment.Builder addDeploymentsBuilder(int index)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeploymentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDeploymentsResponse build()
buildPartial()
public ListDeploymentsResponse buildPartial()
clear()
public ListDeploymentsResponse.Builder clear()
Overrides
clearDeployments()
public ListDeploymentsResponse.Builder clearDeployments()
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDeploymentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListDeploymentsResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDeploymentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDeploymentsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListDeploymentsResponse getDefaultInstanceForType()
getDeployments(int index)
public Deployment getDeployments(int index)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Parameter |
Name |
Description |
index |
int
|
getDeploymentsBuilder(int index)
public Deployment.Builder getDeploymentsBuilder(int index)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Parameter |
Name |
Description |
index |
int
|
getDeploymentsBuilderList()
public List<Deployment.Builder> getDeploymentsBuilderList()
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
getDeploymentsCount()
public int getDeploymentsCount()
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Returns |
Type |
Description |
int |
|
getDeploymentsList()
public List<Deployment> getDeploymentsList()
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
getDeploymentsOrBuilder(int index)
public DeploymentOrBuilder getDeploymentsOrBuilder(int index)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Parameter |
Name |
Description |
index |
int
|
getDeploymentsOrBuilderList()
public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.apihub.v1.DeploymentOrBuilder> |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDeploymentsResponse other)
public ListDeploymentsResponse.Builder mergeFrom(ListDeploymentsResponse other)
public ListDeploymentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDeploymentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeploymentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDeployments(int index)
public ListDeploymentsResponse.Builder removeDeployments(int index)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
Parameter |
Name |
Description |
index |
int
|
setDeployments(int index, Deployment value)
public ListDeploymentsResponse.Builder setDeployments(int index, Deployment value)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
setDeployments(int index, Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder setDeployments(int index, Deployment.Builder builderForValue)
The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeploymentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListDeploymentsResponse.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.
|
setNextPageTokenBytes(ByteString value)
public ListDeploymentsResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDeploymentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeploymentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides