Class ListDeploymentsResponse.Builder (0.15.0)

public static final class ListDeploymentsResponse.Builder extends GeneratedMessageV3.Builder<ListDeploymentsResponse.Builder> implements ListDeploymentsResponseOrBuilder

Response object for ListDeployments.

Protobuf type google.cloud.telcoautomation.v1alpha1.ListDeploymentsResponse

Static Methods

getDescriptor()

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

Methods

addAllDeployments(Iterable<? extends Deployment> values)

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

The list of requested deployments.

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

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

addDeployments(Deployment value)

public ListDeploymentsResponse.Builder addDeployments(Deployment value)

The list of requested deployments.

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

Parameter
Name Description
value Deployment
Returns
Type Description
ListDeploymentsResponse.Builder

addDeployments(Deployment.Builder builderForValue)

public ListDeploymentsResponse.Builder addDeployments(Deployment.Builder builderForValue)

The list of requested deployments.

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

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

addDeployments(int index, Deployment value)

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

The list of requested deployments.

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

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

addDeployments(int index, Deployment.Builder builderForValue)

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

The list of requested deployments.

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

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

addDeploymentsBuilder()

public Deployment.Builder addDeploymentsBuilder()

The list of requested deployments.

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

Returns
Type Description
Deployment.Builder

addDeploymentsBuilder(int index)

public Deployment.Builder addDeploymentsBuilder(int index)

The list of requested deployments.

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

Parameter
Name Description
index int
Returns
Type Description
Deployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDeploymentsResponse build()
Returns
Type Description
ListDeploymentsResponse

buildPartial()

public ListDeploymentsResponse buildPartial()
Returns
Type Description
ListDeploymentsResponse

clear()

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

clearDeployments()

public ListDeploymentsResponse.Builder clearDeployments()

The list of requested deployments.

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

Returns
Type Description
ListDeploymentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDeploymentsResponse getDefaultInstanceForType()
Returns
Type Description
ListDeploymentsResponse

getDeployments(int index)

public Deployment getDeployments(int index)

The list of requested deployments.

repeated .google.cloud.telcoautomation.v1alpha1.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 deployments.

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

Parameter
Name Description
index int
Returns
Type Description
Deployment.Builder

getDeploymentsBuilderList()

public List<Deployment.Builder> getDeploymentsBuilderList()

The list of requested deployments.

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

Returns
Type Description
List<Builder>

getDeploymentsCount()

public int getDeploymentsCount()

The list of requested deployments.

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

Returns
Type Description
int

getDeploymentsList()

public List<Deployment> getDeploymentsList()

The list of requested deployments.

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

Returns
Type Description
List<Deployment>

getDeploymentsOrBuilder(int index)

public DeploymentOrBuilder getDeploymentsOrBuilder(int index)

The list of requested deployments.

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

Parameter
Name Description
index int
Returns
Type Description
DeploymentOrBuilder

getDeploymentsOrBuilderList()

public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()

The list of requested deployments.

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

Returns
Type Description
List<? extends com.google.cloud.telcoautomation.v1alpha1.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(ListDeploymentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeployments(int index)

public ListDeploymentsResponse.Builder removeDeployments(int index)

The list of requested deployments.

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

Parameter
Name Description
index int
Returns
Type Description
ListDeploymentsResponse.Builder

setDeployments(int index, Deployment value)

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

The list of requested deployments.

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

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

setDeployments(int index, Deployment.Builder builderForValue)

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

The list of requested deployments.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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