Class ListInterconnectAttachmentsResponse.Builder (0.13.0)

public static final class ListInterconnectAttachmentsResponse.Builder extends GeneratedMessageV3.Builder<ListInterconnectAttachmentsResponse.Builder> implements ListInterconnectAttachmentsResponseOrBuilder

Message for response to listing InterconnectAttachments

Protobuf type google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInterconnectAttachments(Iterable<? extends InterconnectAttachment> values)

public ListInterconnectAttachmentsResponse.Builder addAllInterconnectAttachments(Iterable<? extends InterconnectAttachment> values)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.edgenetwork.v1.InterconnectAttachment>
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addInterconnectAttachments(InterconnectAttachment value)

public ListInterconnectAttachmentsResponse.Builder addInterconnectAttachments(InterconnectAttachment value)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
value InterconnectAttachment
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

addInterconnectAttachments(InterconnectAttachment.Builder builderForValue)

public ListInterconnectAttachmentsResponse.Builder addInterconnectAttachments(InterconnectAttachment.Builder builderForValue)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
builderForValue InterconnectAttachment.Builder
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

addInterconnectAttachments(int index, InterconnectAttachment value)

public ListInterconnectAttachmentsResponse.Builder addInterconnectAttachments(int index, InterconnectAttachment value)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameters
Name Description
index int
value InterconnectAttachment
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

addInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

public ListInterconnectAttachmentsResponse.Builder addInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameters
Name Description
index int
builderForValue InterconnectAttachment.Builder
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

addInterconnectAttachmentsBuilder()

public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder()

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Returns
Type Description
InterconnectAttachment.Builder

addInterconnectAttachmentsBuilder(int index)

public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder(int index)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListInterconnectAttachmentsResponse build()
Returns
Type Description
ListInterconnectAttachmentsResponse

buildPartial()

public ListInterconnectAttachmentsResponse buildPartial()
Returns
Type Description
ListInterconnectAttachmentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnectAttachments()

public ListInterconnectAttachmentsResponse.Builder clearInterconnectAttachments()

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

clearNextPageToken()

public ListInterconnectAttachmentsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListInterconnectAttachmentsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInterconnectAttachmentsResponse getDefaultInstanceForType()
Returns
Type Description
ListInterconnectAttachmentsResponse

getDescriptorForType()

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

getInterconnectAttachments(int index)

public InterconnectAttachment getInterconnectAttachments(int index)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachment

getInterconnectAttachmentsBuilder(int index)

public InterconnectAttachment.Builder getInterconnectAttachmentsBuilder(int index)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachment.Builder

getInterconnectAttachmentsBuilderList()

public List<InterconnectAttachment.Builder> getInterconnectAttachmentsBuilderList()

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Returns
Type Description
List<Builder>

getInterconnectAttachmentsCount()

public int getInterconnectAttachmentsCount()

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Returns
Type Description
int

getInterconnectAttachmentsList()

public List<InterconnectAttachment> getInterconnectAttachmentsList()

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Returns
Type Description
List<InterconnectAttachment>

getInterconnectAttachmentsOrBuilder(int index)

public InterconnectAttachmentOrBuilder getInterconnectAttachmentsOrBuilder(int index)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachmentOrBuilder

getInterconnectAttachmentsOrBuilderList()

public List<? extends InterconnectAttachmentOrBuilder> getInterconnectAttachmentsOrBuilderList()

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Returns
Type Description
List<? extends com.google.cloud.edgenetwork.v1.InterconnectAttachmentOrBuilder>

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInterconnectAttachments(int index)

public ListInterconnectAttachmentsResponse.Builder removeInterconnectAttachments(int index)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterconnectAttachments(int index, InterconnectAttachment value)

public ListInterconnectAttachmentsResponse.Builder setInterconnectAttachments(int index, InterconnectAttachment value)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameters
Name Description
index int
value InterconnectAttachment
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

setInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

public ListInterconnectAttachmentsResponse.Builder setInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

The list of InterconnectAttachment

repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1;

Parameters
Name Description
index int
builderForValue InterconnectAttachment.Builder
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

setNextPageToken(String value)

public ListInterconnectAttachmentsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInterconnectAttachmentsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.

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

public ListInterconnectAttachmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListInterconnectAttachmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListInterconnectAttachmentsResponse.Builder
Overrides

setUnreachable(int index, String value)

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

This builder for chaining.