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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InterconnectLocationRegionInfo
build()
InterconnectLocationRegionInfo
buildPartial()
InterconnectLocationRegionInfo.Builder
clear()
InterconnectLocationRegionInfo.Builder
clearExpectedRttMs()
Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.InterconnectLocationRegionInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InterconnectLocationRegionInfo.Builder
clearLocationPresence()
Identifies the network presence of this location.InterconnectLocationRegionInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InterconnectLocationRegionInfo.Builder
clearRegion()
URL for the region of this location.InterconnectLocationRegionInfo.Builder
clone()
InterconnectLocationRegionInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getExpectedRttMs()
Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.String
getLocationPresence()
Identifies the network presence of this location.com.google.protobuf.ByteString
getLocationPresenceBytes()
Identifies the network presence of this location.String
getRegion()
URL for the region of this location.com.google.protobuf.ByteString
getRegionBytes()
URL for the region of this location.boolean
hasExpectedRttMs()
Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.boolean
hasLocationPresence()
Identifies the network presence of this location.boolean
hasRegion()
URL for the region of this location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InterconnectLocationRegionInfo.Builder
mergeFrom(InterconnectLocationRegionInfo other)
InterconnectLocationRegionInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InterconnectLocationRegionInfo.Builder
mergeFrom(com.google.protobuf.Message other)
InterconnectLocationRegionInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InterconnectLocationRegionInfo.Builder
setExpectedRttMs(long value)
Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.InterconnectLocationRegionInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InterconnectLocationRegionInfo.Builder
setLocationPresence(String value)
Identifies the network presence of this location.InterconnectLocationRegionInfo.Builder
setLocationPresenceBytes(com.google.protobuf.ByteString value)
Identifies the network presence of this location.InterconnectLocationRegionInfo.Builder
setRegion(String value)
URL for the region of this location.InterconnectLocationRegionInfo.Builder
setRegionBytes(com.google.protobuf.ByteString value)
URL for the region of this location.InterconnectLocationRegionInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InterconnectLocationRegionInfo.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
clear
public InterconnectLocationRegionInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
getDefaultInstanceForType
public InterconnectLocationRegionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InterconnectLocationRegionInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InterconnectLocationRegionInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InterconnectLocationRegionInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
setField
public InterconnectLocationRegionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
clearField
public InterconnectLocationRegionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
clearOneof
public InterconnectLocationRegionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
setRepeatedField
public InterconnectLocationRegionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
addRepeatedField
public InterconnectLocationRegionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeFrom
public InterconnectLocationRegionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeFrom
public InterconnectLocationRegionInfo.Builder mergeFrom(InterconnectLocationRegionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasExpectedRttMs
in 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:
getExpectedRttMs
in 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:
hasLocationPresence
in 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:
getLocationPresence
in 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:
getLocationPresenceBytes
in 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:
hasRegion
in 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:
getRegion
in interfaceInterconnectLocationRegionInfoOrBuilder
- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
URL for the region of this location.
optional string region = 138946292;
- Specified by:
getRegionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
mergeUnknownFields
public final InterconnectLocationRegionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocationRegionInfo.Builder>
-
-