Class RemoteTransportProfile (1.87.0)

public final class RemoteTransportProfile extends GeneratedMessage implements RemoteTransportProfileOrBuilder

Message describing RemoteTransportProfile object.

Protobuf type google.cloud.networkconnectivity.v1beta.RemoteTransportProfile

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

FLOW_FIELD_NUMBER

public static final int FLOW_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ORDER_STATE_FIELD_NUMBER

public static final int ORDER_STATE_FIELD_NUMBER
Field Value
Type Description
int

PROVIDER_FIELD_NUMBER

public static final int PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

PROVIDER_SITE_FIELD_NUMBER

public static final int PROVIDER_SITE_FIELD_NUMBER
Field Value
Type Description
int

SLA_FIELD_NUMBER

public static final int SLA_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTED_BANDWIDTHS_FIELD_NUMBER

public static final int SUPPORTED_BANDWIDTHS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RemoteTransportProfile getDefaultInstance()
Returns
Type Description
RemoteTransportProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RemoteTransportProfile.Builder newBuilder()
Returns
Type Description
RemoteTransportProfile.Builder

newBuilder(RemoteTransportProfile prototype)

public static RemoteTransportProfile.Builder newBuilder(RemoteTransportProfile prototype)
Parameter
Name Description
prototype RemoteTransportProfile
Returns
Type Description
RemoteTransportProfile.Builder

parseDelimitedFrom(InputStream input)

public static RemoteTransportProfile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteTransportProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RemoteTransportProfile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoteTransportProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoteTransportProfile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoteTransportProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoteTransportProfile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteTransportProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RemoteTransportProfile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteTransportProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RemoteTransportProfile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoteTransportProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteTransportProfile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RemoteTransportProfile> parser()
Returns
Type Description
Parser<RemoteTransportProfile>

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Output only. Labels as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RemoteTransportProfile getDefaultInstanceForType()
Returns
Type Description
RemoteTransportProfile

getDescription()

public String getDescription()

Output only. Description of the profile.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Description of the profile.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Output only. Human readable name of this profile, used to identify this profile in the UI.

string display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. Human readable name of this profile, used to identify this profile in the UI.

string display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getFlow()

public RemoteTransportProfile.KeyProvisioningFlow getFlow()

Output only. Type of provisioning flows supported by this profile.

.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.KeyProvisioningFlow flow = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RemoteTransportProfile.KeyProvisioningFlow

The flow.

getFlowValue()

public int getFlowValue()

Output only. Type of provisioning flows supported by this profile.

.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.KeyProvisioningFlow flow = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for flow.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Output only. Labels as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Output only. Labels as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Output only. Labels as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Output only. Labels as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public String getName()

Identifier. Name of the resource in the format of $provider-$site.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Name of the resource in the format of $provider-$site.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOrderState()

public RemoteTransportProfile.State getOrderState()

Output only. Order state for this profile.

.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.State order_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RemoteTransportProfile.State

The orderState.

getOrderStateValue()

public int getOrderStateValue()

Output only. Order state for this profile.

.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.State order_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for orderState.

getParserForType()

public Parser<RemoteTransportProfile> getParserForType()
Returns
Type Description
Parser<RemoteTransportProfile>
Overrides

getProvider()

public String getProvider()

Output only. Name of the provider on the other end of this profile. E.g. “Amazon Web Services” or “Microsoft Azure”.

string provider = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The provider.

getProviderBytes()

public ByteString getProviderBytes()

Output only. Name of the provider on the other end of this profile. E.g. “Amazon Web Services” or “Microsoft Azure”.

string provider = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for provider.

getProviderSite()

public String getProviderSite()

Output only. If the profile is a Cloud Service Provider with compute resources, this is populated with the region where connectivity is being established. If the profile provides facility-level selection, this is an identity of the facility any connections on this profile are going through.

string provider_site = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The providerSite.

getProviderSiteBytes()

public ByteString getProviderSiteBytes()

Output only. If the profile is a Cloud Service Provider with compute resources, this is populated with the region where connectivity is being established. If the profile provides facility-level selection, this is an identity of the facility any connections on this profile are going through.

string provider_site = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for providerSite.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSla()

public RemoteTransportProfile.ServiceLevelAvailability getSla()

Output only. Availability class that will be configured for this particular RemoteTransportProfile.

.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.ServiceLevelAvailability sla = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RemoteTransportProfile.ServiceLevelAvailability

The sla.

getSlaValue()

public int getSlaValue()

Output only. Availability class that will be configured for this particular RemoteTransportProfile.

.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.ServiceLevelAvailability sla = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for sla.

getSupportedBandwidths(int index)

public RemoteTransportProfile.Bandwidth getSupportedBandwidths(int index)

Output only. List of bandwidth enum values that are supported by this profile.

repeated .google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.Bandwidth supported_bandwidths = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
RemoteTransportProfile.Bandwidth

The supportedBandwidths at the given index.

getSupportedBandwidthsCount()

public int getSupportedBandwidthsCount()

Output only. List of bandwidth enum values that are supported by this profile.

repeated .google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.Bandwidth supported_bandwidths = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of supportedBandwidths.

getSupportedBandwidthsList()

public List<RemoteTransportProfile.Bandwidth> getSupportedBandwidthsList()

Output only. List of bandwidth enum values that are supported by this profile.

repeated .google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.Bandwidth supported_bandwidths = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Bandwidth>

A list containing the supportedBandwidths.

getSupportedBandwidthsValue(int index)

public int getSupportedBandwidthsValue(int index)

Output only. List of bandwidth enum values that are supported by this profile.

repeated .google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.Bandwidth supported_bandwidths = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedBandwidths at the given index.

getSupportedBandwidthsValueList()

public List<Integer> getSupportedBandwidthsValueList()

Output only. List of bandwidth enum values that are supported by this profile.

repeated .google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.Bandwidth supported_bandwidths = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedBandwidths.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RemoteTransportProfile.Builder newBuilderForType()
Returns
Type Description
RemoteTransportProfile.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RemoteTransportProfile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RemoteTransportProfile.Builder
Overrides

toBuilder()

public RemoteTransportProfile.Builder toBuilder()
Returns
Type Description
RemoteTransportProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException