Interface TransportOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Transport,Transport.Builder
@Generated
public interface TransportOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleanOptional.getAdvertisedRoutes(int index) Optional.com.google.protobuf.ByteStringgetAdvertisedRoutesBytes(int index) Optional.intOptional.Optional.Optional.intOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.intOutput only.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.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels as key value pairs.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getDescription
String getDescription()Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the Transport.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getRemoteProfile
String 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) = { ... }- Returns:
- The remoteProfile.
-
getRemoteProfileBytes
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) = { ... }- Returns:
- The bytes for remoteProfile.
-
getProvidedActivationKey
String 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];- Returns:
- The providedActivationKey.
-
getProvidedActivationKeyBytes
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];- Returns:
- The bytes for providedActivationKey.
-
getGeneratedActivationKey
String 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];- Returns:
- The generatedActivationKey.
-
getGeneratedActivationKeyBytes
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];- Returns:
- The bytes for generatedActivationKey.
-
getBandwidthValue
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];- Returns:
- The enum numeric value on the wire for bandwidth.
-
getBandwidth
Transport.Bandwidth 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];- Returns:
- The bandwidth.
-
getStackTypeValue
int getStackTypeValue()Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for stackType.
-
getStackType
Transport.StackType getStackType()Optional. IP version stack for the established connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.StackType stack_type = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The stackType.
-
getStateValue
int getStateValue()Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Transport.State getState()Output only. State of the underlying connectivity.
.google.cloud.networkconnectivity.v1beta.Transport.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getMtuLimit
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];- Returns:
- The mtuLimit.
-
getAdminEnabled
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];- Returns:
- The adminEnabled.
-
getNetwork
String 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) = { ... }- Returns:
- The network.
-
getNetworkBytes
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) = { ... }- Returns:
- The bytes for network.
-
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];- Returns:
- A list containing the advertisedRoutes.
-
getAdvertisedRoutesCount
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];- 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];- Parameters:
index- The index of the element to return.- Returns:
- The advertisedRoutes at the given index.
-
getAdvertisedRoutesBytes
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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the advertisedRoutes at the given index.
-
getRemoteAccountId
String 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];- Returns:
- The remoteAccountId.
-
getRemoteAccountIdBytes
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];- Returns:
- The bytes for remoteAccountId.
-
getPeeringNetwork
String 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];- Returns:
- The peeringNetwork.
-
getPeeringNetworkBytes
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];- Returns:
- The bytes for peeringNetwork.
-