Class SearchDeploymentRevisionsResponse.Builder (0.25.0)

public static final class SearchDeploymentRevisionsResponse.Builder extends GeneratedMessageV3.Builder<SearchDeploymentRevisionsResponse.Builder> implements SearchDeploymentRevisionsResponseOrBuilder

Response object for SearchDeploymentRevisions.

Protobuf type google.cloud.telcoautomation.v1.SearchDeploymentRevisionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDeployments(Iterable<? extends Deployment> values)

public SearchDeploymentRevisionsResponse.Builder addAllDeployments(Iterable<? extends Deployment> values)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.telcoautomation.v1.Deployment>
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

addDeployments(Deployment value)

public SearchDeploymentRevisionsResponse.Builder addDeployments(Deployment value)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
value Deployment
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

addDeployments(Deployment.Builder builderForValue)

public SearchDeploymentRevisionsResponse.Builder addDeployments(Deployment.Builder builderForValue)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
builderForValue Deployment.Builder
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

addDeployments(int index, Deployment value)

public SearchDeploymentRevisionsResponse.Builder addDeployments(int index, Deployment value)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameters
Name Description
index int
value Deployment
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

addDeployments(int index, Deployment.Builder builderForValue)

public SearchDeploymentRevisionsResponse.Builder addDeployments(int index, Deployment.Builder builderForValue)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameters
Name Description
index int
builderForValue Deployment.Builder
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

addDeploymentsBuilder()

public Deployment.Builder addDeploymentsBuilder()

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Returns
Type Description
Deployment.Builder

addDeploymentsBuilder(int index)

public Deployment.Builder addDeploymentsBuilder(int index)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
Deployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchDeploymentRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

build()

public SearchDeploymentRevisionsResponse build()
Returns
Type Description
SearchDeploymentRevisionsResponse

buildPartial()

public SearchDeploymentRevisionsResponse buildPartial()
Returns
Type Description
SearchDeploymentRevisionsResponse

clear()

public SearchDeploymentRevisionsResponse.Builder clear()
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

clearDeployments()

public SearchDeploymentRevisionsResponse.Builder clearDeployments()

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchDeploymentRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

clearNextPageToken()

public SearchDeploymentRevisionsResponse.Builder clearNextPageToken()

A token that 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
SearchDeploymentRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchDeploymentRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

clone()

public SearchDeploymentRevisionsResponse.Builder clone()
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchDeploymentRevisionsResponse getDefaultInstanceForType()
Returns
Type Description
SearchDeploymentRevisionsResponse

getDeployments(int index)

public Deployment getDeployments(int index)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
Deployment

getDeploymentsBuilder(int index)

public Deployment.Builder getDeploymentsBuilder(int index)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
Deployment.Builder

getDeploymentsBuilderList()

public List<Deployment.Builder> getDeploymentsBuilderList()

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Returns
Type Description
List<Builder>

getDeploymentsCount()

public int getDeploymentsCount()

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Returns
Type Description
int

getDeploymentsList()

public List<Deployment> getDeploymentsList()

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Returns
Type Description
List<Deployment>

getDeploymentsOrBuilder(int index)

public DeploymentOrBuilder getDeploymentsOrBuilder(int index)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentOrBuilder

getDeploymentsOrBuilderList()

public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Returns
Type Description
List<? extends com.google.cloud.telcoautomation.v1.DeploymentOrBuilder>

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token that 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 that 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchDeploymentRevisionsResponse other)

public SearchDeploymentRevisionsResponse.Builder mergeFrom(SearchDeploymentRevisionsResponse other)
Parameter
Name Description
other SearchDeploymentRevisionsResponse
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchDeploymentRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchDeploymentRevisionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchDeploymentRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

removeDeployments(int index)

public SearchDeploymentRevisionsResponse.Builder removeDeployments(int index)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

setDeployments(int index, Deployment value)

public SearchDeploymentRevisionsResponse.Builder setDeployments(int index, Deployment value)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameters
Name Description
index int
value Deployment
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

setDeployments(int index, Deployment.Builder builderForValue)

public SearchDeploymentRevisionsResponse.Builder setDeployments(int index, Deployment.Builder builderForValue)

The list of requested deployment revisions.

repeated .google.cloud.telcoautomation.v1.Deployment deployments = 1;

Parameters
Name Description
index int
builderForValue Deployment.Builder
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchDeploymentRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

setNextPageToken(String value)

public SearchDeploymentRevisionsResponse.Builder setNextPageToken(String value)

A token that 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
Type Description
SearchDeploymentRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchDeploymentRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that 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
Type Description
SearchDeploymentRevisionsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchDeploymentRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchDeploymentRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchDeploymentRevisionsResponse.Builder
Overrides