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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListInterconnectsResponse.BuilderImplements
ListInterconnectsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.edgenetwork.v1.Interconnect> |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListInterconnectsResponse.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 |
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 | |
---|---|
Name | Description |
value |
Interconnect |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Interconnect.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
value |
Interconnect |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Interconnect.Builder |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
addInterconnectsBuilder()
public Interconnect.Builder addInterconnectsBuilder()
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Returns | |
---|---|
Type | Description |
Interconnect.Builder |
addInterconnectsBuilder(int index)
public Interconnect.Builder addInterconnectsBuilder(int index)
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Interconnect.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInterconnectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
addUnreachable(String value)
public ListInterconnectsResponse.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 |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
This builder for chaining. |
build()
public ListInterconnectsResponse build()
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse |
buildPartial()
public ListInterconnectsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse |
clear()
public ListInterconnectsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListInterconnectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
clearInterconnects()
public ListInterconnectsResponse.Builder clearInterconnects()
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
clearNextPageToken()
public ListInterconnectsResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInterconnectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
clearUnreachable()
public ListInterconnectsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
This builder for chaining. |
clone()
public ListInterconnectsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
getDefaultInstanceForType()
public ListInterconnectsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInterconnects(int index)
public Interconnect getInterconnects(int index)
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Interconnect |
getInterconnectsBuilder(int index)
public Interconnect.Builder getInterconnectsBuilder(int index)
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Interconnect.Builder |
getInterconnectsBuilderList()
public List<Interconnect.Builder> getInterconnectsBuilderList()
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getInterconnectsCount()
public int getInterconnectsCount()
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Returns | |
---|---|
Type | Description |
int |
getInterconnectsList()
public List<Interconnect> getInterconnectsList()
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Returns | |
---|---|
Type | Description |
List<Interconnect> |
getInterconnectsOrBuilder(int index)
public InterconnectOrBuilder getInterconnectsOrBuilder(int index)
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InterconnectOrBuilder |
getInterconnectsOrBuilderList()
public List<? extends InterconnectOrBuilder> getInterconnectsOrBuilderList()
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListInterconnectsResponse other)
public ListInterconnectsResponse.Builder mergeFrom(ListInterconnectsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListInterconnectsResponse |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListInterconnectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListInterconnectsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInterconnectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
removeInterconnects(int index)
public ListInterconnectsResponse.Builder removeInterconnects(int index)
The list of Interconnect
repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListInterconnectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
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 | |
---|---|
Name | Description |
index |
int |
value |
Interconnect |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Interconnect.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInterconnectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListInterconnectsResponse.Builder |
setUnreachable(int index, String value)
public ListInterconnectsResponse.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 |
ListInterconnectsResponse.Builder |
This builder for chaining. |