Class ListAutomationsResponse.Builder (1.53.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.Automation>
Returns
Type Description
ListAutomationsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListAutomationsResponse.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
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
Name Description
value Automation
Returns
Type Description
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
Name Description
builderForValue Automation.Builder
Returns
Type Description
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
Name Description
index int
value Automation
Returns
Type Description
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
Name Description
index int
builderForValue Automation.Builder
Returns
Type Description
ListAutomationsResponse.Builder

addAutomationsBuilder()

public Automation.Builder addAutomationsBuilder()

The Automation objects.

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

Returns
Type Description
Automation.Builder

addAutomationsBuilder(int index)

public Automation.Builder addAutomationsBuilder(int index)

The Automation objects.

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

Parameter
Name Description
index int
Returns
Type Description
Automation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

The bytes of the unreachable to add.

Returns
Type Description
ListAutomationsResponse.Builder

This builder for chaining.

build()

public ListAutomationsResponse build()
Returns
Type Description
ListAutomationsResponse

buildPartial()

public ListAutomationsResponse buildPartial()
Returns
Type Description
ListAutomationsResponse

clear()

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

clearAutomations()

public ListAutomationsResponse.Builder clearAutomations()

The Automation objects.

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

Returns
Type Description
ListAutomationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAutomationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListAutomationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListAutomationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListAutomationsResponse.Builder

This builder for chaining.

clone()

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

getAutomations(int index)

public Automation getAutomations(int index)

The Automation objects.

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

Parameter
Name Description
index int
Returns
Type Description
Automation

getAutomationsBuilder(int index)

public Automation.Builder getAutomationsBuilder(int index)

The Automation objects.

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

Parameter
Name Description
index int
Returns
Type Description
Automation.Builder

getAutomationsBuilderList()

public List<Automation.Builder> getAutomationsBuilderList()

The Automation objects.

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

Returns
Type Description
List<Builder>

getAutomationsCount()

public int getAutomationsCount()

The Automation objects.

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

Returns
Type Description
int

getAutomationsList()

public List<Automation> getAutomationsList()

The Automation objects.

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

Returns
Type Description
List<Automation>

getAutomationsOrBuilder(int index)

public AutomationOrBuilder getAutomationsOrBuilder(int index)

The Automation objects.

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

Parameter
Name Description
index int
Returns
Type Description
AutomationOrBuilder

getAutomationsOrBuilderList()

public List<? extends AutomationOrBuilder> getAutomationsOrBuilderList()

The Automation objects.

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

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

getDefaultInstanceForType()

public ListAutomationsResponse getDefaultInstanceForType()
Returns
Type Description
ListAutomationsResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAutomations(int index)

public ListAutomationsResponse.Builder removeAutomations(int index)

The Automation objects.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
index int
value Automation
Returns
Type Description
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
Name Description
index int
builderForValue Automation.Builder
Returns
Type Description
ListAutomationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAutomationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAutomationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAutomationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListAutomationsResponse.Builder

This builder for chaining.