Class ListMachinesResponse.Builder (0.37.0)

public static final class ListMachinesResponse.Builder extends GeneratedMessageV3.Builder<ListMachinesResponse.Builder> implements ListMachinesResponseOrBuilder

List of machines in a site.

Protobuf type google.cloud.edgecontainer.v1.ListMachinesResponse

Static Methods

getDescriptor()

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

Methods

addAllMachines(Iterable<? extends Machine> values)

public ListMachinesResponse.Builder addAllMachines(Iterable<? extends Machine> values)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.edgecontainer.v1.Machine>
Returns
TypeDescription
ListMachinesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addMachines(Machine value)

public ListMachinesResponse.Builder addMachines(Machine value)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
valueMachine
Returns
TypeDescription
ListMachinesResponse.Builder

addMachines(Machine.Builder builderForValue)

public ListMachinesResponse.Builder addMachines(Machine.Builder builderForValue)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
builderForValueMachine.Builder
Returns
TypeDescription
ListMachinesResponse.Builder

addMachines(int index, Machine value)

public ListMachinesResponse.Builder addMachines(int index, Machine value)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameters
NameDescription
indexint
valueMachine
Returns
TypeDescription
ListMachinesResponse.Builder

addMachines(int index, Machine.Builder builderForValue)

public ListMachinesResponse.Builder addMachines(int index, Machine.Builder builderForValue)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameters
NameDescription
indexint
builderForValueMachine.Builder
Returns
TypeDescription
ListMachinesResponse.Builder

addMachinesBuilder()

public Machine.Builder addMachinesBuilder()

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Returns
TypeDescription
Machine.Builder

addMachinesBuilder(int index)

public Machine.Builder addMachinesBuilder(int index)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Machine.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListMachinesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListMachinesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListMachinesResponse build()
Returns
TypeDescription
ListMachinesResponse

buildPartial()

public ListMachinesResponse buildPartial()
Returns
TypeDescription
ListMachinesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMachines()

public ListMachinesResponse.Builder clearMachines()

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Returns
TypeDescription
ListMachinesResponse.Builder

clearNextPageToken()

public ListMachinesResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListMachinesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListMachinesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListMachinesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListMachinesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMachinesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMachines(int index)

public Machine getMachines(int index)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Machine

getMachinesBuilder(int index)

public Machine.Builder getMachinesBuilder(int index)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Machine.Builder

getMachinesBuilderList()

public List<Machine.Builder> getMachinesBuilderList()

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Returns
TypeDescription
List<Builder>

getMachinesCount()

public int getMachinesCount()

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Returns
TypeDescription
int

getMachinesList()

public List<Machine> getMachinesList()

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Returns
TypeDescription
List<Machine>

getMachinesOrBuilder(int index)

public MachineOrBuilder getMachinesOrBuilder(int index)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MachineOrBuilder

getMachinesOrBuilderList()

public List<? extends MachineOrBuilder> getMachinesOrBuilderList()

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Returns
TypeDescription
List<? extends com.google.cloud.edgecontainer.v1.MachineOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

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

public ListMachinesResponse.Builder mergeFrom(ListMachinesResponse other)
Parameter
NameDescription
otherListMachinesResponse
Returns
TypeDescription
ListMachinesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMachines(int index)

public ListMachinesResponse.Builder removeMachines(int index)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListMachinesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMachines(int index, Machine value)

public ListMachinesResponse.Builder setMachines(int index, Machine value)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameters
NameDescription
indexint
valueMachine
Returns
TypeDescription
ListMachinesResponse.Builder

setMachines(int index, Machine.Builder builderForValue)

public ListMachinesResponse.Builder setMachines(int index, Machine.Builder builderForValue)

Machines in the site.

repeated .google.cloud.edgecontainer.v1.Machine machines = 1;

Parameters
NameDescription
indexint
builderForValueMachine.Builder
Returns
TypeDescription
ListMachinesResponse.Builder

setNextPageToken(String value)

public ListMachinesResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListMachinesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMachinesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListMachinesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.