Class ListDeployPoliciesResponse.Builder (1.53.0)

public static final class ListDeployPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListDeployPoliciesResponse.Builder> implements ListDeployPoliciesResponseOrBuilder

The response object from ListDeployPolicies.

Protobuf type google.cloud.deploy.v1.ListDeployPoliciesResponse

Static Methods

getDescriptor()

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

Methods

addAllDeployPolicies(Iterable<? extends DeployPolicy> values)

public ListDeployPoliciesResponse.Builder addAllDeployPolicies(Iterable<? extends DeployPolicy> values)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.DeployPolicy>
Returns
Type Description
ListDeployPoliciesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListDeployPoliciesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.

addDeployPolicies(DeployPolicy value)

public ListDeployPoliciesResponse.Builder addDeployPolicies(DeployPolicy value)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
value DeployPolicy
Returns
Type Description
ListDeployPoliciesResponse.Builder

addDeployPolicies(DeployPolicy.Builder builderForValue)

public ListDeployPoliciesResponse.Builder addDeployPolicies(DeployPolicy.Builder builderForValue)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
builderForValue DeployPolicy.Builder
Returns
Type Description
ListDeployPoliciesResponse.Builder

addDeployPolicies(int index, DeployPolicy value)

public ListDeployPoliciesResponse.Builder addDeployPolicies(int index, DeployPolicy value)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameters
Name Description
index int
value DeployPolicy
Returns
Type Description
ListDeployPoliciesResponse.Builder

addDeployPolicies(int index, DeployPolicy.Builder builderForValue)

public ListDeployPoliciesResponse.Builder addDeployPolicies(int index, DeployPolicy.Builder builderForValue)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameters
Name Description
index int
builderForValue DeployPolicy.Builder
Returns
Type Description
ListDeployPoliciesResponse.Builder

addDeployPoliciesBuilder()

public DeployPolicy.Builder addDeployPoliciesBuilder()

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Returns
Type Description
DeployPolicy.Builder

addDeployPoliciesBuilder(int index)

public DeployPolicy.Builder addDeployPoliciesBuilder(int index)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DeployPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListDeployPoliciesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListDeployPoliciesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.

build()

public ListDeployPoliciesResponse build()
Returns
Type Description
ListDeployPoliciesResponse

buildPartial()

public ListDeployPoliciesResponse buildPartial()
Returns
Type Description
ListDeployPoliciesResponse

clear()

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

clearDeployPolicies()

public ListDeployPoliciesResponse.Builder clearDeployPolicies()

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Returns
Type Description
ListDeployPoliciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDeployPoliciesResponse.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
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDeployPoliciesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDeployPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListDeployPoliciesResponse

getDeployPolicies(int index)

public DeployPolicy getDeployPolicies(int index)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DeployPolicy

getDeployPoliciesBuilder(int index)

public DeployPolicy.Builder getDeployPoliciesBuilder(int index)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DeployPolicy.Builder

getDeployPoliciesBuilderList()

public List<DeployPolicy.Builder> getDeployPoliciesBuilderList()

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Returns
Type Description
List<Builder>

getDeployPoliciesCount()

public int getDeployPoliciesCount()

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Returns
Type Description
int

getDeployPoliciesList()

public List<DeployPolicy> getDeployPoliciesList()

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Returns
Type Description
List<DeployPolicy>

getDeployPoliciesOrBuilder(int index)

public DeployPolicyOrBuilder getDeployPoliciesOrBuilder(int index)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DeployPolicyOrBuilder

getDeployPoliciesOrBuilderList()

public List<? extends DeployPolicyOrBuilder> getDeployPoliciesOrBuilderList()

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.DeployPolicyOrBuilder>

getDescriptorForType()

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

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDeployPoliciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeployPolicies(int index)

public ListDeployPoliciesResponse.Builder removeDeployPolicies(int index)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDeployPoliciesResponse.Builder

setDeployPolicies(int index, DeployPolicy value)

public ListDeployPoliciesResponse.Builder setDeployPolicies(int index, DeployPolicy value)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameters
Name Description
index int
value DeployPolicy
Returns
Type Description
ListDeployPoliciesResponse.Builder

setDeployPolicies(int index, DeployPolicy.Builder builderForValue)

public ListDeployPoliciesResponse.Builder setDeployPolicies(int index, DeployPolicy.Builder builderForValue)

The DeployPolicy objects.

repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;

Parameters
Name Description
index int
builderForValue DeployPolicy.Builder
Returns
Type Description
ListDeployPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDeployPoliciesResponse.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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDeployPoliciesResponse.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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListDeployPoliciesResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListDeployPoliciesResponse.Builder

This builder for chaining.