Class ListAutomationsResponse.Builder (1.34.0)

public static final class ListAutomationsResponse.Builder extends GeneratedMessageV3.Builder<ListAutomationsResponse.Builder> implements ListAutomationsResponseOrBuilder

The response object from ListAutomations.

Protobuf type google.cloud.deploy.v1.ListAutomationsResponse

Static Methods

getDescriptor()

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

Methods

addAllAutomations(Iterable<? extends Automation> values)

public ListAutomationsResponse.Builder addAllAutomations(Iterable<? extends Automation> values)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.Automation>
Returns
TypeDescription
ListAutomationsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addAutomations(Automation value)

public ListAutomationsResponse.Builder addAutomations(Automation value)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
valueAutomation
Returns
TypeDescription
ListAutomationsResponse.Builder

addAutomations(Automation.Builder builderForValue)

public ListAutomationsResponse.Builder addAutomations(Automation.Builder builderForValue)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
builderForValueAutomation.Builder
Returns
TypeDescription
ListAutomationsResponse.Builder

addAutomations(int index, Automation value)

public ListAutomationsResponse.Builder addAutomations(int index, Automation value)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameters
NameDescription
indexint
valueAutomation
Returns
TypeDescription
ListAutomationsResponse.Builder

addAutomations(int index, Automation.Builder builderForValue)

public ListAutomationsResponse.Builder addAutomations(int index, Automation.Builder builderForValue)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameters
NameDescription
indexint
builderForValueAutomation.Builder
Returns
TypeDescription
ListAutomationsResponse.Builder

addAutomationsBuilder()

public Automation.Builder addAutomationsBuilder()

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Returns
TypeDescription
Automation.Builder

addAutomationsBuilder(int index)

public Automation.Builder addAutomationsBuilder(int index)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Automation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListAutomationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListAutomationsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListAutomationsResponse build()
Returns
TypeDescription
ListAutomationsResponse

buildPartial()

public ListAutomationsResponse buildPartial()
Returns
TypeDescription
ListAutomationsResponse

clear()

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

clearAutomations()

public ListAutomationsResponse.Builder clearAutomations()

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Returns
TypeDescription
ListAutomationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListAutomationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListAutomationsResponse.Builder

This builder for chaining.

clone()

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

getAutomations(int index)

public Automation getAutomations(int index)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Automation

getAutomationsBuilder(int index)

public Automation.Builder getAutomationsBuilder(int index)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Automation.Builder

getAutomationsBuilderList()

public List<Automation.Builder> getAutomationsBuilderList()

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Returns
TypeDescription
List<Builder>

getAutomationsCount()

public int getAutomationsCount()

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Returns
TypeDescription
int

getAutomationsList()

public List<Automation> getAutomationsList()

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Returns
TypeDescription
List<Automation>

getAutomationsOrBuilder(int index)

public AutomationOrBuilder getAutomationsOrBuilder(int index)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutomationOrBuilder

getAutomationsOrBuilderList()

public List<? extends AutomationOrBuilder> getAutomationsOrBuilderList()

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

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

getDefaultInstanceForType()

public ListAutomationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAutomationsResponse

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

public ListAutomationsResponse.Builder mergeFrom(ListAutomationsResponse other)
Parameter
NameDescription
otherListAutomationsResponse
Returns
TypeDescription
ListAutomationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAutomations(int index)

public ListAutomationsResponse.Builder removeAutomations(int index)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAutomationsResponse.Builder

setAutomations(int index, Automation value)

public ListAutomationsResponse.Builder setAutomations(int index, Automation value)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameters
NameDescription
indexint
valueAutomation
Returns
TypeDescription
ListAutomationsResponse.Builder

setAutomations(int index, Automation.Builder builderForValue)

public ListAutomationsResponse.Builder setAutomations(int index, Automation.Builder builderForValue)

The Automation objects.

repeated .google.cloud.deploy.v1.Automation automations = 1;

Parameters
NameDescription
indexint
builderForValueAutomation.Builder
Returns
TypeDescription
ListAutomationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.