Class ListInterconnectsResponse.Builder (0.3.0)

public static final class ListInterconnectsResponse.Builder extends GeneratedMessageV3.Builder<ListInterconnectsResponse.Builder> implements ListInterconnectsResponseOrBuilder

Message for response to listing Interconnects

Protobuf type google.cloud.edgenetwork.v1.ListInterconnectsResponse

Static Methods

getDescriptor()

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

Methods

addAllInterconnects(Iterable<? extends Interconnect> values)

public ListInterconnectsResponse.Builder addAllInterconnects(Iterable<? extends Interconnect> values)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.Interconnect>
Returns
TypeDescription
ListInterconnectsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addInterconnects(Interconnect value)

public ListInterconnectsResponse.Builder addInterconnects(Interconnect value)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
valueInterconnect
Returns
TypeDescription
ListInterconnectsResponse.Builder

addInterconnects(Interconnect.Builder builderForValue)

public ListInterconnectsResponse.Builder addInterconnects(Interconnect.Builder builderForValue)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
builderForValueInterconnect.Builder
Returns
TypeDescription
ListInterconnectsResponse.Builder

addInterconnects(int index, Interconnect value)

public ListInterconnectsResponse.Builder addInterconnects(int index, Interconnect value)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameters
NameDescription
indexint
valueInterconnect
Returns
TypeDescription
ListInterconnectsResponse.Builder

addInterconnects(int index, Interconnect.Builder builderForValue)

public ListInterconnectsResponse.Builder addInterconnects(int index, Interconnect.Builder builderForValue)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameters
NameDescription
indexint
builderForValueInterconnect.Builder
Returns
TypeDescription
ListInterconnectsResponse.Builder

addInterconnectsBuilder()

public Interconnect.Builder addInterconnectsBuilder()

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Returns
TypeDescription
Interconnect.Builder

addInterconnectsBuilder(int index)

public Interconnect.Builder addInterconnectsBuilder(int index)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Interconnect.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListInterconnectsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListInterconnectsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListInterconnectsResponse build()
Returns
TypeDescription
ListInterconnectsResponse

buildPartial()

public ListInterconnectsResponse buildPartial()
Returns
TypeDescription
ListInterconnectsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnects()

public ListInterconnectsResponse.Builder clearInterconnects()

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Returns
TypeDescription
ListInterconnectsResponse.Builder

clearNextPageToken()

public ListInterconnectsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ListInterconnectsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListInterconnectsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListInterconnectsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInterconnectsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInterconnectsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInterconnects(int index)

public Interconnect getInterconnects(int index)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Interconnect

getInterconnectsBuilder(int index)

public Interconnect.Builder getInterconnectsBuilder(int index)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Interconnect.Builder

getInterconnectsBuilderList()

public List<Interconnect.Builder> getInterconnectsBuilderList()

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Returns
TypeDescription
List<Builder>

getInterconnectsCount()

public int getInterconnectsCount()

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Returns
TypeDescription
int

getInterconnectsList()

public List<Interconnect> getInterconnectsList()

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Returns
TypeDescription
List<Interconnect>

getInterconnectsOrBuilder(int index)

public InterconnectOrBuilder getInterconnectsOrBuilder(int index)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectOrBuilder

getInterconnectsOrBuilderList()

public List<? extends InterconnectOrBuilder> getInterconnectsOrBuilderList()

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Returns
TypeDescription
List<? extends com.google.cloud.edgenetwork.v1.InterconnectOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

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

public ListInterconnectsResponse.Builder mergeFrom(ListInterconnectsResponse other)
Parameter
NameDescription
otherListInterconnectsResponse
Returns
TypeDescription
ListInterconnectsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInterconnects(int index)

public ListInterconnectsResponse.Builder removeInterconnects(int index)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListInterconnectsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterconnects(int index, Interconnect value)

public ListInterconnectsResponse.Builder setInterconnects(int index, Interconnect value)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameters
NameDescription
indexint
valueInterconnect
Returns
TypeDescription
ListInterconnectsResponse.Builder

setInterconnects(int index, Interconnect.Builder builderForValue)

public ListInterconnectsResponse.Builder setInterconnects(int index, Interconnect.Builder builderForValue)

The list of Interconnect

repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;

Parameters
NameDescription
indexint
builderForValueInterconnect.Builder
Returns
TypeDescription
ListInterconnectsResponse.Builder

setNextPageToken(String value)

public ListInterconnectsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListInterconnectsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInterconnectsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListInterconnectsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.