Class ListMachinesResponse.Builder (0.39.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.edgecontainer.v1.Machine>
Returns
Type Description
ListMachinesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

addMachinesBuilder()

public Machine.Builder addMachinesBuilder()

Machines in the site.

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

Returns
Type Description
Machine.Builder

addMachinesBuilder(int index)

public Machine.Builder addMachinesBuilder(int index)

Machines in the site.

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

Parameter
Name Description
index int
Returns
Type Description
Machine.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

The bytes of the unreachable to add.

Returns
Type Description
ListMachinesResponse.Builder

This builder for chaining.

build()

public ListMachinesResponse build()
Returns
Type Description
ListMachinesResponse

buildPartial()

public ListMachinesResponse buildPartial()
Returns
Type Description
ListMachinesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListMachinesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListMachinesResponse.Builder
Overrides

clearMachines()

public ListMachinesResponse.Builder clearMachines()

Machines in the site.

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

Returns
Type Description
ListMachinesResponse.Builder

clearNextPageToken()

public ListMachinesResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
Type Description
ListMachinesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListMachinesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListMachinesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListMachinesResponse getDefaultInstanceForType()
Returns
Type Description
ListMachinesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMachines(int index)

public Machine getMachines(int index)

Machines in the site.

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

Parameter
Name Description
index int
Returns
Type Description
Machine

getMachinesBuilder(int index)

public Machine.Builder getMachinesBuilder(int index)

Machines in the site.

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

Parameter
Name Description
index int
Returns
Type Description
Machine.Builder

getMachinesBuilderList()

public List<Machine.Builder> getMachinesBuilderList()

Machines in the site.

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

Returns
Type Description
List<Builder>

getMachinesCount()

public int getMachinesCount()

Machines in the site.

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

Returns
Type Description
int

getMachinesList()

public List<Machine> getMachinesList()

Machines in the site.

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

Returns
Type Description
List<Machine>

getMachinesOrBuilder(int index)

public MachineOrBuilder getMachinesOrBuilder(int index)

Machines in the site.

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

Parameter
Name Description
index int
Returns
Type Description
MachineOrBuilder

getMachinesOrBuilderList()

public List<? extends MachineOrBuilder> getMachinesOrBuilderList()

Machines in the site.

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

Returns
Type Description
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
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListMachinesResponse.Builder

This builder for chaining.