Class ListInterconnectAttachmentsResponse.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.v1.InterconnectAttachment>
Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListInterconnectAttachmentsResponse.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
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
NameDescription
valueInterconnectAttachment
Returns
TypeDescription
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
NameDescription
builderForValueInterconnectAttachment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInterconnectAttachment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInterconnectAttachment.Builder
Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

addInterconnectAttachmentsBuilder()

public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder()

The list of InterconnectAttachment

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InterconnectAttachment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListInterconnectAttachmentsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.

build()

public ListInterconnectAttachmentsResponse build()
Returns
TypeDescription
ListInterconnectAttachmentsResponse

buildPartial()

public ListInterconnectAttachmentsResponse buildPartial()
Returns
TypeDescription
ListInterconnectAttachmentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnectAttachments()

public ListInterconnectAttachmentsResponse.Builder clearInterconnectAttachments()

The list of InterconnectAttachment

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

Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

clearNextPageToken()

public ListInterconnectAttachmentsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListInterconnectAttachmentsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInterconnectAttachmentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInterconnectAttachmentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInterconnectAttachments(int index)

public InterconnectAttachment getInterconnectAttachments(int index)

The list of InterconnectAttachment

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectAttachment

getInterconnectAttachmentsBuilder(int index)

public InterconnectAttachment.Builder getInterconnectAttachmentsBuilder(int index)

The list of InterconnectAttachment

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectAttachment.Builder

getInterconnectAttachmentsBuilderList()

public List<InterconnectAttachment.Builder> getInterconnectAttachmentsBuilderList()

The list of InterconnectAttachment

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

Returns
TypeDescription
List<Builder>

getInterconnectAttachmentsCount()

public int getInterconnectAttachmentsCount()

The list of InterconnectAttachment

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

Returns
TypeDescription
int

getInterconnectAttachmentsList()

public List<InterconnectAttachment> getInterconnectAttachmentsList()

The list of InterconnectAttachment

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

Returns
TypeDescription
List<InterconnectAttachment>

getInterconnectAttachmentsOrBuilder(int index)

public InterconnectAttachmentOrBuilder getInterconnectAttachmentsOrBuilder(int index)

The list of InterconnectAttachment

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectAttachmentOrBuilder

getInterconnectAttachmentsOrBuilderList()

public List<? extends InterconnectAttachmentOrBuilder> getInterconnectAttachmentsOrBuilderList()

The list of InterconnectAttachment

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

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

public ListInterconnectAttachmentsResponse.Builder mergeFrom(ListInterconnectAttachmentsResponse other)
Parameter
NameDescription
otherListInterconnectAttachmentsResponse
Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListInterconnectAttachmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListInterconnectAttachmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInterconnectAttachment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInterconnectAttachment.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListInterconnectAttachmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListInterconnectAttachmentsResponse.Builder

This builder for chaining.