Class SearchDeploymentRevisionsResponse.Builder (0.4.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.telcoautomation.v1.Deployment>
Returns
TypeDescription
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
NameDescription
valueDeployment
Returns
TypeDescription
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
NameDescription
builderForValueDeployment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDeployment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeployment.Builder
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder

addDeploymentsBuilder()

public Deployment.Builder addDeploymentsBuilder()

The list of requested deployment revisions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchDeploymentRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides

build()

public SearchDeploymentRevisionsResponse build()
Returns
TypeDescription
SearchDeploymentRevisionsResponse

buildPartial()

public SearchDeploymentRevisionsResponse buildPartial()
Returns
TypeDescription
SearchDeploymentRevisionsResponse

clear()

public SearchDeploymentRevisionsResponse.Builder clear()
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides

clearDeployments()

public SearchDeploymentRevisionsResponse.Builder clearDeployments()

The list of requested deployment revisions.

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

Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchDeploymentRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SearchDeploymentRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchDeploymentRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides

clone()

public SearchDeploymentRevisionsResponse.Builder clone()
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchDeploymentRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchDeploymentRevisionsResponse

getDeployments(int index)

public Deployment getDeployments(int index)

The list of requested deployment revisions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

getDeploymentsBuilderList()

public List<Deployment.Builder> getDeploymentsBuilderList()

The list of requested deployment revisions.

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

Returns
TypeDescription
List<Builder>

getDeploymentsCount()

public int getDeploymentsCount()

The list of requested deployment revisions.

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

Returns
TypeDescription
int

getDeploymentsList()

public List<Deployment> getDeploymentsList()

The list of requested deployment revisions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DeploymentOrBuilder

getDeploymentsOrBuilderList()

public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()

The list of requested deployment revisions.

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchDeploymentRevisionsResponse other)

public SearchDeploymentRevisionsResponse.Builder mergeFrom(SearchDeploymentRevisionsResponse other)
Parameter
NameDescription
otherSearchDeploymentRevisionsResponse
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchDeploymentRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchDeploymentRevisionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchDeploymentRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDeployment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeployment.Builder
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchDeploymentRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchDeploymentRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchDeploymentRevisionsResponse.Builder
Overrides