Class Transport.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Transport.Builder>
com.google.cloud.networkconnectivity.v1beta.Transport.Builder
- All Implemented Interfaces:
TransportOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Transport
public static final class Transport.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Transport.Builder>
implements TransportOrBuilder
Message describing Transport object.Protobuf type
google.cloud.networkconnectivity.v1beta.Transport-
Method Summary
Modifier and TypeMethodDescriptionaddAdvertisedRoutes(String value) Optional.addAdvertisedRoutesBytes(com.google.protobuf.ByteString value) Optional.addAllAdvertisedRoutes(Iterable<String> values) Optional.build()clear()Optional.Optional.Optional.Output only.Optional.Output only.Output only.Identifier.Optional.Output only.Optional.Optional.Optional.Optional.Output only.Output only.booleancontainsLabels(String key) Optional.booleanOptional.getAdvertisedRoutes(int index) Optional.com.google.protobuf.ByteStringgetAdvertisedRoutesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.intOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.intOutput only.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.intOptional.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setAdminEnabled(boolean value) Optional.setAdvertisedRoutes(int index, String value) Optional.setBandwidth(Transport.Bandwidth value) Optional.setBandwidthValue(int value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setGeneratedActivationKey(String value) Output only.setGeneratedActivationKeyBytes(com.google.protobuf.ByteString value) Output only.setMtuLimit(int value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setNetwork(String value) Optional.setNetworkBytes(com.google.protobuf.ByteString value) Optional.setPeeringNetwork(String value) Output only.setPeeringNetworkBytes(com.google.protobuf.ByteString value) Output only.setProvidedActivationKey(String value) Optional.setProvidedActivationKeyBytes(com.google.protobuf.ByteString value) Optional.setRemoteAccountId(String value) Optional.setRemoteAccountIdBytes(com.google.protobuf.ByteString value) Optional.setRemoteProfile(String value) Optional.setRemoteProfileBytes(com.google.protobuf.ByteString value) Optional.setStackType(Transport.StackType value) Optional.setStackTypeValue(int value) Optional.setState(Transport.State value) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) 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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Transport.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Transport.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Transport.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<Transport.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<Transport.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<Transport.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Transport.Builder>
-
mergeFrom
public Transport.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<Transport.Builder>- Throws:
IOException
-
getName
Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceTransportOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceTransportOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceTransportOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceTransportOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceTransportOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTransportOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTransportOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTransportOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:TransportOrBuilderOptional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceTransportOrBuilder
-
containsLabels
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceTransportOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTransportOrBuilder
-
getLabelsMap
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceTransportOrBuilder
-
getLabelsOrDefault
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceTransportOrBuilder
-
getLabelsOrThrow
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceTransportOrBuilder
-
clearLabels
-
removeLabels
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getDescription
Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceTransportOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceTransportOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getRemoteProfile
Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getRemoteProfilein interfaceTransportOrBuilder- Returns:
- The remoteProfile.
-
getRemoteProfileBytes
public com.google.protobuf.ByteString getRemoteProfileBytes()Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getRemoteProfileBytesin interfaceTransportOrBuilder- Returns:
- The bytes for remoteProfile.
-
setRemoteProfile
Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The remoteProfile to set.- Returns:
- This builder for chaining.
-
clearRemoteProfile
Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRemoteProfileBytes
Optional. Name of the remoteTransportProfile that this Transport is connecting to.
string remote_profile = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for remoteProfile to set.- Returns:
- This builder for chaining.
-
getProvidedActivationKey
Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProvidedActivationKeyin interfaceTransportOrBuilder- Returns:
- The providedActivationKey.
-
getProvidedActivationKeyBytes
public com.google.protobuf.ByteString getProvidedActivationKeyBytes()Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProvidedActivationKeyBytesin interfaceTransportOrBuilder- Returns:
- The bytes for providedActivationKey.
-
setProvidedActivationKey
Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The providedActivationKey to set.- Returns:
- This builder for chaining.
-
clearProvidedActivationKey
Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setProvidedActivationKeyBytes
Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
string provided_activation_key = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for providedActivationKey to set.- Returns:
- This builder for chaining.
-
getGeneratedActivationKey
Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGeneratedActivationKeyin interfaceTransportOrBuilder- Returns:
- The generatedActivationKey.
-
getGeneratedActivationKeyBytes
public com.google.protobuf.ByteString getGeneratedActivationKeyBytes()Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGeneratedActivationKeyBytesin interfaceTransportOrBuilder- Returns:
- The bytes for generatedActivationKey.
-
setGeneratedActivationKey
Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The generatedActivationKey to set.- Returns:
- This builder for chaining.
-
clearGeneratedActivationKey
Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setGeneratedActivationKeyBytes
Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
string generated_activation_key = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for generatedActivationKey to set.- Returns:
- This builder for chaining.
-
getBandwidthValue
public int getBandwidthValue()Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBandwidthValuein interfaceTransportOrBuilder- Returns:
- The enum numeric value on the wire for bandwidth.
-
setBandwidthValue
Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for bandwidth to set.- Returns:
- This builder for chaining.
-
getBandwidth
Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBandwidthin interfaceTransportOrBuilder- Returns:
- The bandwidth.
-
setBandwidth
Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bandwidth to set.- Returns:
- This builder for chaining.
-
clearBandwidth
Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
.google.cloud.networkconnectivity.v1beta.Transport.Bandwidth bandwidth = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getStackTypeValue
public int getStackTypeValue()Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStackTypeValuein interfaceTransportOrBuilder- Returns:
- The enum numeric value on the wire for stackType.
-
setStackTypeValue
Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for stackType to set.- Returns:
- This builder for chaining.
-
getStackType
Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStackTypein interfaceTransportOrBuilder- Returns:
- The stackType.
-
setStackType
Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The stackType to set.- Returns:
- This builder for chaining.
-
clearStackType
Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceTransportOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceTransportOrBuilder- Returns:
- The state.
-
setState
Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMtuLimit
public int getMtuLimit()Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
int32 mtu_limit = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMtuLimitin interfaceTransportOrBuilder- Returns:
- The mtuLimit.
-
setMtuLimit
Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
int32 mtu_limit = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The mtuLimit to set.- Returns:
- This builder for chaining.
-
clearMtuLimit
Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
int32 mtu_limit = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getAdminEnabled
public boolean getAdminEnabled()Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
bool admin_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdminEnabledin interfaceTransportOrBuilder- Returns:
- The adminEnabled.
-
setAdminEnabled
Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
bool admin_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The adminEnabled to set.- Returns:
- This builder for chaining.
-
clearAdminEnabled
Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.
bool admin_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getNetwork
Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkin interfaceTransportOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkBytesin interfaceTransportOrBuilder- Returns:
- The bytes for network.
-
setNetwork
Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNetworkBytes
Optional. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
string network = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getAdvertisedRoutesList
public com.google.protobuf.ProtocolStringList getAdvertisedRoutesList()Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdvertisedRoutesListin interfaceTransportOrBuilder- Returns:
- A list containing the advertisedRoutes.
-
getAdvertisedRoutesCount
public int getAdvertisedRoutesCount()Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdvertisedRoutesCountin interfaceTransportOrBuilder- Returns:
- The count of advertisedRoutes.
-
getAdvertisedRoutes
Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdvertisedRoutesin interfaceTransportOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The advertisedRoutes at the given index.
-
getAdvertisedRoutesBytes
public com.google.protobuf.ByteString getAdvertisedRoutesBytes(int index) Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdvertisedRoutesBytesin interfaceTransportOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the advertisedRoutes at the given index.
-
setAdvertisedRoutes
Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The advertisedRoutes to set.- Returns:
- This builder for chaining.
-
addAdvertisedRoutes
Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The advertisedRoutes to add.- Returns:
- This builder for chaining.
-
addAllAdvertisedRoutes
Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The advertisedRoutes to add.- Returns:
- This builder for chaining.
-
clearAdvertisedRoutes
Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addAdvertisedRoutesBytes
Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
repeated string advertised_routes = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the advertisedRoutes to add.- Returns:
- This builder for chaining.
-
getRemoteAccountId
Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRemoteAccountIdin interfaceTransportOrBuilder- Returns:
- The remoteAccountId.
-
getRemoteAccountIdBytes
public com.google.protobuf.ByteString getRemoteAccountIdBytes()Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRemoteAccountIdBytesin interfaceTransportOrBuilder- Returns:
- The bytes for remoteAccountId.
-
setRemoteAccountId
Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The remoteAccountId to set.- Returns:
- This builder for chaining.
-
clearRemoteAccountId
Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setRemoteAccountIdBytes
Optional. The user supplied account id for the CSP associated with the remote profile.
string remote_account_id = 17 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for remoteAccountId to set.- Returns:
- This builder for chaining.
-
getPeeringNetwork
Output only. VPC Network URI that was created for the VPC Peering connection to the provided `network`. If VPC Peering is disconnected, this can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPeeringNetworkin interfaceTransportOrBuilder- Returns:
- The peeringNetwork.
-
getPeeringNetworkBytes
public com.google.protobuf.ByteString getPeeringNetworkBytes()Output only. VPC Network URI that was created for the VPC Peering connection to the provided `network`. If VPC Peering is disconnected, this can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPeeringNetworkBytesin interfaceTransportOrBuilder- Returns:
- The bytes for peeringNetwork.
-
setPeeringNetwork
Output only. VPC Network URI that was created for the VPC Peering connection to the provided `network`. If VPC Peering is disconnected, this can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The peeringNetwork to set.- Returns:
- This builder for chaining.
-
clearPeeringNetwork
Output only. VPC Network URI that was created for the VPC Peering connection to the provided `network`. If VPC Peering is disconnected, this can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPeeringNetworkBytes
Output only. VPC Network URI that was created for the VPC Peering connection to the provided `network`. If VPC Peering is disconnected, this can be used to re-establish.
string peering_network = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for peeringNetwork to set.- Returns:
- This builder for chaining.
-