Class ListDeliveryPipelinesResponse.Builder (1.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.DeliveryPipeline>
Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueDeliveryPipeline
Returns
TypeDescription
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
NameDescription
builderForValueDeliveryPipeline.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDeliveryPipeline
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeliveryPipeline.Builder
Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

addDeliveryPipelinesBuilder()

public DeliveryPipeline.Builder addDeliveryPipelinesBuilder()

The DeliveryPipeline objects.

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

Returns
TypeDescription
DeliveryPipeline.Builder

addDeliveryPipelinesBuilder(int index)

public DeliveryPipeline.Builder addDeliveryPipelinesBuilder(int index)

The DeliveryPipeline objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeliveryPipeline.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListDeliveryPipelinesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

This builder for chaining.

build()

public ListDeliveryPipelinesResponse build()
Returns
TypeDescription
ListDeliveryPipelinesResponse

buildPartial()

public ListDeliveryPipelinesResponse buildPartial()
Returns
TypeDescription
ListDeliveryPipelinesResponse

clear()

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

clearDeliveryPipelines()

public ListDeliveryPipelinesResponse.Builder clearDeliveryPipelines()

The DeliveryPipeline objects.

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

Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDeliveryPipelinesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDeliveryPipelinesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeliveryPipelinesResponse

getDeliveryPipelines(int index)

public DeliveryPipeline getDeliveryPipelines(int index)

The DeliveryPipeline objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeliveryPipeline

getDeliveryPipelinesBuilder(int index)

public DeliveryPipeline.Builder getDeliveryPipelinesBuilder(int index)

The DeliveryPipeline objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeliveryPipeline.Builder

getDeliveryPipelinesBuilderList()

public List<DeliveryPipeline.Builder> getDeliveryPipelinesBuilderList()

The DeliveryPipeline objects.

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

Returns
TypeDescription
List<Builder>

getDeliveryPipelinesCount()

public int getDeliveryPipelinesCount()

The DeliveryPipeline objects.

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

Returns
TypeDescription
int

getDeliveryPipelinesList()

public List<DeliveryPipeline> getDeliveryPipelinesList()

The DeliveryPipeline objects.

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

Returns
TypeDescription
List<DeliveryPipeline>

getDeliveryPipelinesOrBuilder(int index)

public DeliveryPipelineOrBuilder getDeliveryPipelinesOrBuilder(int index)

The DeliveryPipeline objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeliveryPipelineOrBuilder

getDeliveryPipelinesOrBuilderList()

public List<? extends DeliveryPipelineOrBuilder> getDeliveryPipelinesOrBuilderList()

The DeliveryPipeline objects.

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

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

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.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDeliveryPipelinesResponse other)

public ListDeliveryPipelinesResponse.Builder mergeFrom(ListDeliveryPipelinesResponse other)
Parameter
NameDescription
otherListDeliveryPipelinesResponse
Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDeliveryPipelinesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDeliveryPipeline
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeliveryPipeline.Builder
Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDeliveryPipelinesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListDeliveryPipelinesResponse.Builder

This builder for chaining.