Class ListDeploymentRevisionsResponse.Builder (0.5.0)

public static final class ListDeploymentRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListDeploymentRevisionsResponse.Builder> implements ListDeploymentRevisionsResponseOrBuilder

List of deployment revisions for a given deployment.

Protobuf type google.cloud.telcoautomation.v1.ListDeploymentRevisionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDeployments(Iterable<? extends Deployment> values)

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

The revisions of the deployment.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.telcoautomation.v1.Deployment>
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

addDeployments(Deployment value)

public ListDeploymentRevisionsResponse.Builder addDeployments(Deployment value)

The revisions of the deployment.

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

Parameter
NameDescription
valueDeployment
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

addDeployments(Deployment.Builder builderForValue)

public ListDeploymentRevisionsResponse.Builder addDeployments(Deployment.Builder builderForValue)

The revisions of the deployment.

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

Parameter
NameDescription
builderForValueDeployment.Builder
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

addDeployments(int index, Deployment value)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
valueDeployment
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

addDeployments(int index, Deployment.Builder builderForValue)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
builderForValueDeployment.Builder
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

addDeploymentsBuilder()

public Deployment.Builder addDeploymentsBuilder()

The revisions of the deployment.

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

Returns
TypeDescription
Deployment.Builder

addDeploymentsBuilder(int index)

public Deployment.Builder addDeploymentsBuilder(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDeploymentRevisionsResponse build()
Returns
TypeDescription
ListDeploymentRevisionsResponse

buildPartial()

public ListDeploymentRevisionsResponse buildPartial()
Returns
TypeDescription
ListDeploymentRevisionsResponse

clear()

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

clearDeployments()

public ListDeploymentRevisionsResponse.Builder clearDeployments()

The revisions of the deployment.

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

Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDeploymentRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder
Overrides

clearNextPageToken()

public ListDeploymentRevisionsResponse.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
ListDeploymentRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDeploymentRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeploymentRevisionsResponse

getDeployments(int index)

public Deployment getDeployments(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment

getDeploymentsBuilder(int index)

public Deployment.Builder getDeploymentsBuilder(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

getDeploymentsBuilderList()

public List<Deployment.Builder> getDeploymentsBuilderList()

The revisions of the deployment.

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

Returns
TypeDescription
List<Builder>

getDeploymentsCount()

public int getDeploymentsCount()

The revisions of the deployment.

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

Returns
TypeDescription
int

getDeploymentsList()

public List<Deployment> getDeploymentsList()

The revisions of the deployment.

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

Returns
TypeDescription
List<Deployment>

getDeploymentsOrBuilder(int index)

public DeploymentOrBuilder getDeploymentsOrBuilder(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeploymentOrBuilder

getDeploymentsOrBuilderList()

public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()

The revisions of the deployment.

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(ListDeploymentRevisionsResponse other)

public ListDeploymentRevisionsResponse.Builder mergeFrom(ListDeploymentRevisionsResponse other)
Parameter
NameDescription
otherListDeploymentRevisionsResponse
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDeploymentRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder
Overrides

removeDeployments(int index)

public ListDeploymentRevisionsResponse.Builder removeDeployments(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

setDeployments(int index, Deployment value)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
valueDeployment
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

setDeployments(int index, Deployment.Builder builderForValue)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
builderForValueDeployment.Builder
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDeploymentRevisionsResponse.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
ListDeploymentRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDeploymentRevisionsResponse.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
ListDeploymentRevisionsResponse.Builder

This builder for chaining.

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

public ListDeploymentRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDeploymentRevisionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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