Class ListAutomationRunsResponse.Builder (1.35.0)

public static final class ListAutomationRunsResponse.Builder extends GeneratedMessageV3.Builder<ListAutomationRunsResponse.Builder> implements ListAutomationRunsResponseOrBuilder

The response object from ListAutomationRuns.

Protobuf type google.cloud.deploy.v1.ListAutomationRunsResponse

Static Methods

getDescriptor()

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

Methods

addAllAutomationRuns(Iterable<? extends AutomationRun> values)

public ListAutomationRunsResponse.Builder addAllAutomationRuns(Iterable<? extends AutomationRun> values)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addAutomationRuns(AutomationRun value)

public ListAutomationRunsResponse.Builder addAutomationRuns(AutomationRun value)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameter
NameDescription
valueAutomationRun
Returns
TypeDescription
ListAutomationRunsResponse.Builder

addAutomationRuns(AutomationRun.Builder builderForValue)

public ListAutomationRunsResponse.Builder addAutomationRuns(AutomationRun.Builder builderForValue)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameter
NameDescription
builderForValueAutomationRun.Builder
Returns
TypeDescription
ListAutomationRunsResponse.Builder

addAutomationRuns(int index, AutomationRun value)

public ListAutomationRunsResponse.Builder addAutomationRuns(int index, AutomationRun value)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameters
NameDescription
indexint
valueAutomationRun
Returns
TypeDescription
ListAutomationRunsResponse.Builder

addAutomationRuns(int index, AutomationRun.Builder builderForValue)

public ListAutomationRunsResponse.Builder addAutomationRuns(int index, AutomationRun.Builder builderForValue)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameters
NameDescription
indexint
builderForValueAutomationRun.Builder
Returns
TypeDescription
ListAutomationRunsResponse.Builder

addAutomationRunsBuilder()

public AutomationRun.Builder addAutomationRunsBuilder()

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Returns
TypeDescription
AutomationRun.Builder

addAutomationRunsBuilder(int index)

public AutomationRun.Builder addAutomationRunsBuilder(int index)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutomationRun.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListAutomationRunsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListAutomationRunsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListAutomationRunsResponse build()
Returns
TypeDescription
ListAutomationRunsResponse

buildPartial()

public ListAutomationRunsResponse buildPartial()
Returns
TypeDescription
ListAutomationRunsResponse

clear()

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

clearAutomationRuns()

public ListAutomationRunsResponse.Builder clearAutomationRuns()

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Returns
TypeDescription
ListAutomationRunsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListAutomationRunsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListAutomationRunsResponse.Builder

This builder for chaining.

clone()

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

getAutomationRuns(int index)

public AutomationRun getAutomationRuns(int index)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutomationRun

getAutomationRunsBuilder(int index)

public AutomationRun.Builder getAutomationRunsBuilder(int index)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutomationRun.Builder

getAutomationRunsBuilderList()

public List<AutomationRun.Builder> getAutomationRunsBuilderList()

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Returns
TypeDescription
List<Builder>

getAutomationRunsCount()

public int getAutomationRunsCount()

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Returns
TypeDescription
int

getAutomationRunsList()

public List<AutomationRun> getAutomationRunsList()

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Returns
TypeDescription
List<AutomationRun>

getAutomationRunsOrBuilder(int index)

public AutomationRunOrBuilder getAutomationRunsOrBuilder(int index)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutomationRunOrBuilder

getAutomationRunsOrBuilderList()

public List<? extends AutomationRunOrBuilder> getAutomationRunsOrBuilderList()

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

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

getDefaultInstanceForType()

public ListAutomationRunsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAutomationRunsResponse

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

public ListAutomationRunsResponse.Builder mergeFrom(ListAutomationRunsResponse other)
Parameter
NameDescription
otherListAutomationRunsResponse
Returns
TypeDescription
ListAutomationRunsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAutomationRuns(int index)

public ListAutomationRunsResponse.Builder removeAutomationRuns(int index)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAutomationRunsResponse.Builder

setAutomationRuns(int index, AutomationRun value)

public ListAutomationRunsResponse.Builder setAutomationRuns(int index, AutomationRun value)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameters
NameDescription
indexint
valueAutomationRun
Returns
TypeDescription
ListAutomationRunsResponse.Builder

setAutomationRuns(int index, AutomationRun.Builder builderForValue)

public ListAutomationRunsResponse.Builder setAutomationRuns(int index, AutomationRun.Builder builderForValue)

The AutomationRuns objects.

repeated .google.cloud.deploy.v1.AutomationRun automation_runs = 1;

Parameters
NameDescription
indexint
builderForValueAutomationRun.Builder
Returns
TypeDescription
ListAutomationRunsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.