# Interface RemoteTransportProfileOrBuilder (1.92.0)

1.92.0 (latest) 1.90.0 1.87.0 1.86.0 1.84.0 1.82.0 1.81.0 1.79.0 1.77.0 1.75.0 1.74.0 1.73.0 1.72.0 1.71.0 1.69.0 1.67.0 1.66.0 1.63.0 1.62.0 1.61.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.9 1.1.1 1.0.0 0.5.0

    public interface RemoteTransportProfileOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### containsLabels(String key)

    public abstract 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` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getDescription()

    public abstract String getDescription()

Output only. Description of the profile.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The description. |

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Output only. Description of the profile.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for description. |

### getDisplayName()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The displayName. |

### getDisplayNameBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for displayName. |

### getFlow()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/com.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.KeyProvisioningFlow` | The flow. |

### getFlowValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for flow. |

### getLabels() (deprecated)

    public abstract Map<String,String> getLabels()

Use [#getLabelsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/com.google.cloud.networkconnectivity.v1beta.RemoteTransportProfileOrBuilder#com_google_cloud_networkconnectivity_v1beta_RemoteTransportProfileOrBuilder_getLabelsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsCount()

    public abstract int getLabelsCount()

Output only. Labels as key value pairs.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getLabelsMap()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsOrDefault(String key, String defaultValue)

    public abstract 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` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getLabelsOrThrow(String key)

    public abstract 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` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getName()

    public abstract String getName()

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getOrderState()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/com.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.State` | The orderState. |

### getOrderStateValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for orderState. |

### getProvider()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The provider. |

### getProviderBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for provider. |

### getProviderSite()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The providerSite. |

### getProviderSiteBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for providerSite. |

### getSla()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/com.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.ServiceLevelAvailability` | The sla. |

### getSlaValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for sla. |

### getSupportedBandwidths(int index)

    public abstract 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/com.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.Bandwidth` | The supportedBandwidths at the given index. |

### getSupportedBandwidthsCount()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of supportedBandwidths. |

### getSupportedBandwidthsList()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/com.google.cloud.networkconnectivity.v1beta.RemoteTransportProfile.Bandwidth>` | A list containing the supportedBandwidths. |

### getSupportedBandwidthsValue(int index)

    public abstract 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of supportedBandwidths at the given index. |

### getSupportedBandwidthsValueList()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>` | A list containing the enum numeric values on the wire for supportedBandwidths. |