public static final class InterconnectLocationRegionInfo.Builder extends GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder> implements InterconnectLocationRegionInfoOrBuilderInformation about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.
Protobuf type google.cloud.compute.v1.InterconnectLocationRegionInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectLocationRegionInfo.BuilderImplements
InterconnectLocationRegionInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectLocationRegionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
build()
public InterconnectLocationRegionInfo build()| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo |
|
buildPartial()
public InterconnectLocationRegionInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo |
|
clear()
public InterconnectLocationRegionInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
clearExpectedRttMs()
public InterconnectLocationRegionInfo.Builder clearExpectedRttMs()Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.
optional int64 expected_rtt_ms = 422543866;
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InterconnectLocationRegionInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
clearL2ForwardingEnabled()
public InterconnectLocationRegionInfo.Builder clearL2ForwardingEnabled()Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.
optional bool l2_forwarding_enabled = 241364888;
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
clearLocationPresence()
public InterconnectLocationRegionInfo.Builder clearLocationPresence()Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.
optional string location_presence = 101517893;
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectLocationRegionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
clearRegion()
public InterconnectLocationRegionInfo.Builder clearRegion()Output only. URL for the region of this location.
optional string region = 138946292;
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
clone()
public InterconnectLocationRegionInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
getDefaultInstanceForType()
public InterconnectLocationRegionInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpectedRttMs()
public long getExpectedRttMs()Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.
optional int64 expected_rtt_ms = 422543866;
| Returns | |
|---|---|
| Type | Description |
long |
The expectedRttMs. |
getL2ForwardingEnabled()
public boolean getL2ForwardingEnabled()Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.
optional bool l2_forwarding_enabled = 241364888;
| Returns | |
|---|---|
| Type | Description |
boolean |
The l2ForwardingEnabled. |
getLocationPresence()
public String getLocationPresence()Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.
optional string location_presence = 101517893;
| Returns | |
|---|---|
| Type | Description |
String |
The locationPresence. |
getLocationPresenceBytes()
public ByteString getLocationPresenceBytes()Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.
optional string location_presence = 101517893;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for locationPresence. |
getRegion()
public String getRegion()Output only. URL for the region of this location.
optional string region = 138946292;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Output only. URL for the region of this location.
optional string region = 138946292;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
hasExpectedRttMs()
public boolean hasExpectedRttMs()Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.
optional int64 expected_rtt_ms = 422543866;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expectedRttMs field is set. |
hasL2ForwardingEnabled()
public boolean hasL2ForwardingEnabled()Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.
optional bool l2_forwarding_enabled = 241364888;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the l2ForwardingEnabled field is set. |
hasLocationPresence()
public boolean hasLocationPresence()Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.
optional string location_presence = 101517893;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the locationPresence field is set. |
hasRegion()
public boolean hasRegion()Output only. URL for the region of this location.
optional string region = 138946292;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the region field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InterconnectLocationRegionInfo other)
public InterconnectLocationRegionInfo.Builder mergeFrom(InterconnectLocationRegionInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
InterconnectLocationRegionInfo |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InterconnectLocationRegionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InterconnectLocationRegionInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectLocationRegionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
setExpectedRttMs(long value)
public InterconnectLocationRegionInfo.Builder setExpectedRttMs(long value)Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.
optional int64 expected_rtt_ms = 422543866;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe expectedRttMs to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InterconnectLocationRegionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
setL2ForwardingEnabled(boolean value)
public InterconnectLocationRegionInfo.Builder setL2ForwardingEnabled(boolean value)Output only. Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.
optional bool l2_forwarding_enabled = 241364888;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe l2ForwardingEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
setLocationPresence(String value)
public InterconnectLocationRegionInfo.Builder setLocationPresence(String value)Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.
optional string location_presence = 101517893;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe locationPresence to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
setLocationPresenceBytes(ByteString value)
public InterconnectLocationRegionInfo.Builder setLocationPresenceBytes(ByteString value)Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.
optional string location_presence = 101517893;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for locationPresence to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
setRegion(String value)
public InterconnectLocationRegionInfo.Builder setRegion(String value)Output only. URL for the region of this location.
optional string region = 138946292;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public InterconnectLocationRegionInfo.Builder setRegionBytes(ByteString value)Output only. URL for the region of this location.
optional string region = 138946292;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InterconnectLocationRegionInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectLocationRegionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocationRegionInfo.Builder |
|