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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder> implements InterconnectLocationRegionInfoOrBuilder
Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.
Protobuf typegoogle.cloud.compute.v1.InterconnectLocationRegionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InterconnectLocationRegionInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InterconnectLocationRegionInfobuild()InterconnectLocationRegionInfobuildPartial()InterconnectLocationRegionInfo.Builderclear()InterconnectLocationRegionInfo.BuilderclearExpectedRttMs()Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.InterconnectLocationRegionInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InterconnectLocationRegionInfo.BuilderclearLocationPresence()Identifies the network presence of this location.InterconnectLocationRegionInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InterconnectLocationRegionInfo.BuilderclearRegion()URL for the region of this location.InterconnectLocationRegionInfo.Builderclone()InterconnectLocationRegionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetExpectedRttMs()Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.StringgetLocationPresence()Identifies the network presence of this location.com.google.protobuf.ByteStringgetLocationPresenceBytes()Identifies the network presence of this location.StringgetRegion()URL for the region of this location.com.google.protobuf.ByteStringgetRegionBytes()URL for the region of this location.booleanhasExpectedRttMs()Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.booleanhasLocationPresence()Identifies the network presence of this location.booleanhasRegion()URL for the region of this location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InterconnectLocationRegionInfo.BuildermergeFrom(InterconnectLocationRegionInfo other)InterconnectLocationRegionInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InterconnectLocationRegionInfo.BuildermergeFrom(com.google.protobuf.Message other)InterconnectLocationRegionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InterconnectLocationRegionInfo.BuildersetExpectedRttMs(long value)Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.InterconnectLocationRegionInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InterconnectLocationRegionInfo.BuildersetLocationPresence(String value)Identifies the network presence of this location.InterconnectLocationRegionInfo.BuildersetLocationPresenceBytes(com.google.protobuf.ByteString value)Identifies the network presence of this location.InterconnectLocationRegionInfo.BuildersetRegion(String value)URL for the region of this location.InterconnectLocationRegionInfo.BuildersetRegionBytes(com.google.protobuf.ByteString value)URL for the region of this location.InterconnectLocationRegionInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InterconnectLocationRegionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
clear
public InterconnectLocationRegionInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
getDefaultInstanceForType
public InterconnectLocationRegionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InterconnectLocationRegionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InterconnectLocationRegionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InterconnectLocationRegionInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
setField
public InterconnectLocationRegionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
clearField
public InterconnectLocationRegionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
clearOneof
public InterconnectLocationRegionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
setRepeatedField
public InterconnectLocationRegionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
addRepeatedField
public InterconnectLocationRegionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeFrom
public InterconnectLocationRegionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeFrom
public InterconnectLocationRegionInfo.Builder mergeFrom(InterconnectLocationRegionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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()
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()
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
public InterconnectLocationRegionInfo.Builder setExpectedRttMs(long value)
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
public InterconnectLocationRegionInfo.Builder clearExpectedRttMs()
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.
-
hasLocationPresence
public boolean hasLocationPresence()
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
public String getLocationPresence()
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()
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
public InterconnectLocationRegionInfo.Builder setLocationPresence(String value)
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
public InterconnectLocationRegionInfo.Builder clearLocationPresence()
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)
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()
URL for the region of this location.
optional string region = 138946292;- Specified by:
hasRegionin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
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()
URL for the region of this location.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceInterconnectLocationRegionInfoOrBuilder- Returns:
- The bytes for region.
-
setRegion
public InterconnectLocationRegionInfo.Builder setRegion(String value)
URL for the region of this location.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public InterconnectLocationRegionInfo.Builder clearRegion()
URL for the region of this location.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
public InterconnectLocationRegionInfo.Builder setRegionBytes(com.google.protobuf.ByteString value)
URL for the region of this location.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final InterconnectLocationRegionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeUnknownFields
public final InterconnectLocationRegionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
-