Class PatchDeployments.ListPatchDeploymentsResponse.Builder (2.5.2)

public static final class PatchDeployments.ListPatchDeploymentsResponse.Builder extends GeneratedMessageV3.Builder<PatchDeployments.ListPatchDeploymentsResponse.Builder> implements PatchDeployments.ListPatchDeploymentsResponseOrBuilder

A response message for listing patch deployments.

Protobuf type google.cloud.osconfig.v1beta.ListPatchDeploymentsResponse

Static Methods

getDescriptor()

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

Methods

addAllPatchDeployments(Iterable<? extends PatchDeployments.PatchDeployment> values)

public PatchDeployments.ListPatchDeploymentsResponse.Builder addAllPatchDeployments(Iterable<? extends PatchDeployments.PatchDeployment> values)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeployment>
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

addPatchDeployments(PatchDeployments.PatchDeployment value)

public PatchDeployments.ListPatchDeploymentsResponse.Builder addPatchDeployments(PatchDeployments.PatchDeployment value)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
valuePatchDeployments.PatchDeployment
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

addPatchDeployments(PatchDeployments.PatchDeployment.Builder builderForValue)

public PatchDeployments.ListPatchDeploymentsResponse.Builder addPatchDeployments(PatchDeployments.PatchDeployment.Builder builderForValue)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
builderForValuePatchDeployments.PatchDeployment.Builder
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

addPatchDeployments(int index, PatchDeployments.PatchDeployment value)

public PatchDeployments.ListPatchDeploymentsResponse.Builder addPatchDeployments(int index, PatchDeployments.PatchDeployment value)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameters
NameDescription
indexint
valuePatchDeployments.PatchDeployment
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

addPatchDeployments(int index, PatchDeployments.PatchDeployment.Builder builderForValue)

public PatchDeployments.ListPatchDeploymentsResponse.Builder addPatchDeployments(int index, PatchDeployments.PatchDeployment.Builder builderForValue)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameters
NameDescription
indexint
builderForValuePatchDeployments.PatchDeployment.Builder
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

addPatchDeploymentsBuilder()

public PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder()

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Returns
TypeDescription
PatchDeployments.PatchDeployment.Builder

addPatchDeploymentsBuilder(int index)

public PatchDeployments.PatchDeployment.Builder addPatchDeploymentsBuilder(int index)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PatchDeployments.PatchDeployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PatchDeployments.ListPatchDeploymentsResponse build()
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse

buildPartial()

public PatchDeployments.ListPatchDeploymentsResponse buildPartial()
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse

clear()

public PatchDeployments.ListPatchDeploymentsResponse.Builder clear()
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public PatchDeployments.ListPatchDeploymentsResponse.Builder clearNextPageToken()

A pagination token that can be used to get the next page of patch deployments.

string next_page_token = 2;

Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatchDeployments()

public PatchDeployments.ListPatchDeploymentsResponse.Builder clearPatchDeployments()

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

clone()

public PatchDeployments.ListPatchDeploymentsResponse.Builder clone()
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder
Overrides

getDefaultInstanceForType()

public PatchDeployments.ListPatchDeploymentsResponse getDefaultInstanceForType()
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A pagination token that can be used to get the next page of patch deployments.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token that can be used to get the next page of patch deployments.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getPatchDeployments(int index)

public PatchDeployments.PatchDeployment getPatchDeployments(int index)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PatchDeployments.PatchDeployment

getPatchDeploymentsBuilder(int index)

public PatchDeployments.PatchDeployment.Builder getPatchDeploymentsBuilder(int index)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PatchDeployments.PatchDeployment.Builder

getPatchDeploymentsBuilderList()

public List<PatchDeployments.PatchDeployment.Builder> getPatchDeploymentsBuilderList()

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Returns
TypeDescription
List<Builder>

getPatchDeploymentsCount()

public int getPatchDeploymentsCount()

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Returns
TypeDescription
int

getPatchDeploymentsList()

public List<PatchDeployments.PatchDeployment> getPatchDeploymentsList()

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Returns
TypeDescription
List<PatchDeployment>

getPatchDeploymentsOrBuilder(int index)

public PatchDeployments.PatchDeploymentOrBuilder getPatchDeploymentsOrBuilder(int index)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PatchDeployments.PatchDeploymentOrBuilder

getPatchDeploymentsOrBuilderList()

public List<? extends PatchDeployments.PatchDeploymentOrBuilder> getPatchDeploymentsOrBuilderList()

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1beta.PatchDeployments.PatchDeploymentOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PatchDeployments.ListPatchDeploymentsResponse other)

public PatchDeployments.ListPatchDeploymentsResponse.Builder mergeFrom(PatchDeployments.ListPatchDeploymentsResponse other)
Parameter
NameDescription
otherPatchDeployments.ListPatchDeploymentsResponse
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePatchDeployments(int index)

public PatchDeployments.ListPatchDeploymentsResponse.Builder removePatchDeployments(int index)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public PatchDeployments.ListPatchDeploymentsResponse.Builder setNextPageToken(String value)

A pagination token that can be used to get the next page of patch deployments.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public PatchDeployments.ListPatchDeploymentsResponse.Builder setNextPageTokenBytes(ByteString value)

A pagination token that can be used to get the next page of patch deployments.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

This builder for chaining.

setPatchDeployments(int index, PatchDeployments.PatchDeployment value)

public PatchDeployments.ListPatchDeploymentsResponse.Builder setPatchDeployments(int index, PatchDeployments.PatchDeployment value)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameters
NameDescription
indexint
valuePatchDeployments.PatchDeployment
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

setPatchDeployments(int index, PatchDeployments.PatchDeployment.Builder builderForValue)

public PatchDeployments.ListPatchDeploymentsResponse.Builder setPatchDeployments(int index, PatchDeployments.PatchDeployment.Builder builderForValue)

The list of patch deployments.

repeated .google.cloud.osconfig.v1beta.PatchDeployment patch_deployments = 1;

Parameters
NameDescription
indexint
builderForValuePatchDeployments.PatchDeployment.Builder
Returns
TypeDescription
PatchDeployments.ListPatchDeploymentsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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