Package com.google.cloud.compute.v1
Class InterconnectLocationRegionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder>
com.google.cloud.compute.v1.InterconnectLocationRegionInfo.Builder
- All Implemented Interfaces:
InterconnectLocationRegionInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InterconnectLocationRegionInfo
public static final class InterconnectLocationRegionInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder>
implements InterconnectLocationRegionInfoOrBuilder
Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.Protobuf type
google.cloud.compute.v1.InterconnectLocationRegionInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setExpectedRttMs(long value) Output only.setL2ForwardingEnabled(boolean value) Output only.setLocationPresence(String value) Output only.setLocationPresenceBytes(com.google.protobuf.ByteString value) Output only.Output only.setRegionBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeFrom
public InterconnectLocationRegionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectLocationRegionInfo.Builder>- Throws:
IOException
-
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;- Specified by:
hasExpectedRttMsin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- Whether the expectedRttMs field is set.
-
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;- Specified by:
getExpectedRttMsin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- The expectedRttMs.
-
setExpectedRttMs
Output only. Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.
optional int64 expected_rtt_ms = 422543866;- Parameters:
value- The expectedRttMs to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasL2ForwardingEnabledin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- Whether the l2ForwardingEnabled field is set.
-
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;- Specified by:
getL2ForwardingEnabledin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- The l2ForwardingEnabled.
-
setL2ForwardingEnabled
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;- Parameters:
value- The l2ForwardingEnabled to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasLocationPresencein interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- Whether the locationPresence field is set.
-
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;- Specified by:
getLocationPresencein interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- The locationPresence.
-
getLocationPresenceBytes
public com.google.protobuf.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;- Specified by:
getLocationPresenceBytesin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- The bytes for locationPresence.
-
setLocationPresence
Output only. Identifies the network presence of this location. Check the LocationPresence enum for the list of possible values.
optional string location_presence = 101517893;- Parameters:
value- The locationPresence to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLocationPresenceBytes
public InterconnectLocationRegionInfo.Builder setLocationPresenceBytes(com.google.protobuf.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;- Parameters:
value- The bytes for locationPresence to set.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()Output only. URL for the region of this location.
optional string region = 138946292;- Specified by:
hasRegionin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
Output only. URL for the region of this location.
optional string region = 138946292;- Specified by:
getRegionin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Output only. URL for the region of this location.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- The bytes for region.
-
setRegion
Output only. URL for the region of this location.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Output only. URL for the region of this location.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
Output only. URL for the region of this location.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-