Class ListDeliveryPipelinesResponse.Builder (1.42.0)

public static final class ListDeliveryPipelinesResponse.Builder extends GeneratedMessageV3.Builder<ListDeliveryPipelinesResponse.Builder> implements ListDeliveryPipelinesResponseOrBuilder

The response object from ListDeliveryPipelines.

Protobuf type google.cloud.deploy.v1.ListDeliveryPipelinesResponse

Static Methods

getDescriptor()

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

Methods

addAllDeliveryPipelines(Iterable<? extends DeliveryPipeline> values)

public ListDeliveryPipelinesResponse.Builder addAllDeliveryPipelines(Iterable<? extends DeliveryPipeline> values)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addDeliveryPipelines(DeliveryPipeline value)

public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(DeliveryPipeline value)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameter
Name Description
value DeliveryPipeline
Returns
Type Description
ListDeliveryPipelinesResponse.Builder

addDeliveryPipelines(DeliveryPipeline.Builder builderForValue)

public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(DeliveryPipeline.Builder builderForValue)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameter
Name Description
builderForValue DeliveryPipeline.Builder
Returns
Type Description
ListDeliveryPipelinesResponse.Builder

addDeliveryPipelines(int index, DeliveryPipeline value)

public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(int index, DeliveryPipeline value)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameters
Name Description
index int
value DeliveryPipeline
Returns
Type Description
ListDeliveryPipelinesResponse.Builder

addDeliveryPipelines(int index, DeliveryPipeline.Builder builderForValue)

public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(int index, DeliveryPipeline.Builder builderForValue)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameters
Name Description
index int
builderForValue DeliveryPipeline.Builder
Returns
Type Description
ListDeliveryPipelinesResponse.Builder

addDeliveryPipelinesBuilder()

public DeliveryPipeline.Builder addDeliveryPipelinesBuilder()

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Returns
Type Description
DeliveryPipeline.Builder

addDeliveryPipelinesBuilder(int index)

public DeliveryPipeline.Builder addDeliveryPipelinesBuilder(int index)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameter
Name Description
index int
Returns
Type Description
DeliveryPipeline.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListDeliveryPipelinesResponse build()
Returns
Type Description
ListDeliveryPipelinesResponse

buildPartial()

public ListDeliveryPipelinesResponse buildPartial()
Returns
Type Description
ListDeliveryPipelinesResponse

clear()

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

clearDeliveryPipelines()

public ListDeliveryPipelinesResponse.Builder clearDeliveryPipelines()

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Returns
Type Description
ListDeliveryPipelinesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDeliveryPipelinesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListDeliveryPipelinesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDeliveryPipelinesResponse getDefaultInstanceForType()
Returns
Type Description
ListDeliveryPipelinesResponse

getDeliveryPipelines(int index)

public DeliveryPipeline getDeliveryPipelines(int index)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameter
Name Description
index int
Returns
Type Description
DeliveryPipeline

getDeliveryPipelinesBuilder(int index)

public DeliveryPipeline.Builder getDeliveryPipelinesBuilder(int index)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameter
Name Description
index int
Returns
Type Description
DeliveryPipeline.Builder

getDeliveryPipelinesBuilderList()

public List<DeliveryPipeline.Builder> getDeliveryPipelinesBuilderList()

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Returns
Type Description
List<Builder>

getDeliveryPipelinesCount()

public int getDeliveryPipelinesCount()

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Returns
Type Description
int

getDeliveryPipelinesList()

public List<DeliveryPipeline> getDeliveryPipelinesList()

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Returns
Type Description
List<DeliveryPipeline>

getDeliveryPipelinesOrBuilder(int index)

public DeliveryPipelineOrBuilder getDeliveryPipelinesOrBuilder(int index)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameter
Name Description
index int
Returns
Type Description
DeliveryPipelineOrBuilder

getDeliveryPipelinesOrBuilderList()

public List<? extends DeliveryPipelineOrBuilder> getDeliveryPipelinesOrBuilderList()

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeliveryPipelines(int index)

public ListDeliveryPipelinesResponse.Builder removeDeliveryPipelines(int index)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDeliveryPipelinesResponse.Builder

setDeliveryPipelines(int index, DeliveryPipeline value)

public ListDeliveryPipelinesResponse.Builder setDeliveryPipelines(int index, DeliveryPipeline value)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameters
Name Description
index int
value DeliveryPipeline
Returns
Type Description
ListDeliveryPipelinesResponse.Builder

setDeliveryPipelines(int index, DeliveryPipeline.Builder builderForValue)

public ListDeliveryPipelinesResponse.Builder setDeliveryPipelines(int index, DeliveryPipeline.Builder builderForValue)

The DeliveryPipeline objects.

repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;

Parameters
Name Description
index int
builderForValue DeliveryPipeline.Builder
Returns
Type Description
ListDeliveryPipelinesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.