Class ListDeploymentsResponse.Builder (2.29.0)

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

Response message to list deployments.

Protobuf type google.cloud.gsuiteaddons.v1.ListDeploymentsResponse

Static Methods

getDescriptor()

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

Methods

addAllDeployments(Iterable<? extends Deployment> values)

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

The list of deployments for the given project.

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

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

addDeployments(Deployment value)

public ListDeploymentsResponse.Builder addDeployments(Deployment value)

The list of deployments for the given project.

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

Parameter
NameDescription
valueDeployment
Returns
TypeDescription
ListDeploymentsResponse.Builder

addDeployments(Deployment.Builder builderForValue)

public ListDeploymentsResponse.Builder addDeployments(Deployment.Builder builderForValue)

The list of deployments for the given project.

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

Parameter
NameDescription
builderForValueDeployment.Builder
Returns
TypeDescription
ListDeploymentsResponse.Builder

addDeployments(int index, Deployment value)

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

The list of deployments for the given project.

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

Parameters
NameDescription
indexint
valueDeployment
Returns
TypeDescription
ListDeploymentsResponse.Builder

addDeployments(int index, Deployment.Builder builderForValue)

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

The list of deployments for the given project.

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

Parameters
NameDescription
indexint
builderForValueDeployment.Builder
Returns
TypeDescription
ListDeploymentsResponse.Builder

addDeploymentsBuilder()

public Deployment.Builder addDeploymentsBuilder()

The list of deployments for the given project.

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

Returns
TypeDescription
Deployment.Builder

addDeploymentsBuilder(int index)

public Deployment.Builder addDeploymentsBuilder(int index)

The list of deployments for the given project.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDeploymentsResponse build()
Returns
TypeDescription
ListDeploymentsResponse

buildPartial()

public ListDeploymentsResponse buildPartial()
Returns
TypeDescription
ListDeploymentsResponse

clear()

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

clearDeployments()

public ListDeploymentsResponse.Builder clearDeployments()

The list of deployments for the given project.

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

Returns
TypeDescription
ListDeploymentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

Returns
TypeDescription
ListDeploymentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDeploymentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeploymentsResponse

getDeployments(int index)

public Deployment getDeployments(int index)

The list of deployments for the given project.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment

getDeploymentsBuilder(int index)

public Deployment.Builder getDeploymentsBuilder(int index)

The list of deployments for the given project.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Deployment.Builder

getDeploymentsBuilderList()

public List<Deployment.Builder> getDeploymentsBuilderList()

The list of deployments for the given project.

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

Returns
TypeDescription
List<Builder>

getDeploymentsCount()

public int getDeploymentsCount()

The list of deployments for the given project.

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

Returns
TypeDescription
int

getDeploymentsList()

public List<Deployment> getDeploymentsList()

The list of deployments for the given project.

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

Returns
TypeDescription
List<Deployment>

getDeploymentsOrBuilder(int index)

public DeploymentOrBuilder getDeploymentsOrBuilder(int index)

The list of deployments for the given project.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeploymentOrBuilder

getDeploymentsOrBuilderList()

public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()

The list of deployments for the given project.

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

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

getDescriptorForType()

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

public ListDeploymentsResponse.Builder mergeFrom(ListDeploymentsResponse other)
Parameter
NameDescription
otherListDeploymentsResponse
Returns
TypeDescription
ListDeploymentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeployments(int index)

public ListDeploymentsResponse.Builder removeDeployments(int index)

The list of deployments for the given project.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDeploymentsResponse.Builder

setDeployments(int index, Deployment value)

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

The list of deployments for the given project.

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

Parameters
NameDescription
indexint
valueDeployment
Returns
TypeDescription
ListDeploymentsResponse.Builder

setDeployments(int index, Deployment.Builder builderForValue)

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

The list of deployments for the given project.

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

Parameters
NameDescription
indexint
builderForValueDeployment.Builder
Returns
TypeDescription
ListDeploymentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

Returns
TypeDescription
ListDeploymentsResponse.Builder

This builder for chaining.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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