Interface AppConnectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AppConnection,AppConnection.Builder
public interface AppConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.AppConnection.ApplicationEndpointgetApplicationEndpoint()Required.AppConnection.ApplicationEndpointOrBuildergetApplicationEndpointOrBuilder()Required.StringgetConnectors(int index)Optional.com.google.protobuf.ByteStringgetConnectorsBytes(int index)Optional.intgetConnectorsCount()Optional.List<String>getConnectorsList()Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDisplayName()Optional.com.google.protobuf.ByteStringgetDisplayNameBytes()Optional.AppConnection.GatewaygetGateway()Optional.AppConnection.GatewayOrBuildergetGatewayOrBuilder()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.AppConnection.StategetState()Output only.intgetStateValue()Output only.AppConnection.TypegetType()Required.intgetTypeValue()Required.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasApplicationEndpoint()Required.booleanhasCreateTime()Output only.booleanhasGateway()Optional.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. Timestamp when the resource was created.
.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. Timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. Timestamp when the resource was last modified.
.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. Timestamp when the resource was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when the resource was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
Optional. Resource labels to represent user provided metadata.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
-
containsLabels
boolean containsLabels(String key)
Optional. Resource labels to represent user provided metadata.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Optional. Resource labels to represent user provided metadata.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Optional. Resource labels to represent user provided metadata.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Optional. Resource labels to represent user provided metadata.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getDisplayName
String getDisplayName()
Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
getUid
String getUid()
Output only. A unique identifier for the instance generated by the system.
string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
Output only. A unique identifier for the instance generated by the system.
string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for uid.
-
getTypeValue
int getTypeValue()
Required. The type of network connectivity used by the AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.Type type = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for type.
-
getType
AppConnection.Type getType()
Required. The type of network connectivity used by the AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.Type type = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The type.
-
hasApplicationEndpoint
boolean hasApplicationEndpoint()
Required. Address of the remote application endpoint for the BeyondCorp AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the applicationEndpoint field is set.
-
getApplicationEndpoint
AppConnection.ApplicationEndpoint getApplicationEndpoint()
Required. Address of the remote application endpoint for the BeyondCorp AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The applicationEndpoint.
-
getApplicationEndpointOrBuilder
AppConnection.ApplicationEndpointOrBuilder getApplicationEndpointOrBuilder()
Required. Address of the remote application endpoint for the BeyondCorp AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];
-
getConnectorsList
List<String> getConnectorsList()
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.
repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the connectors.
-
getConnectorsCount
int getConnectorsCount()
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.
repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of connectors.
-
getConnectors
String getConnectors(int index)
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.
repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The connectors at the given index.
-
getConnectorsBytes
com.google.protobuf.ByteString getConnectorsBytes(int index)
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.
repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the connectors at the given index.
-
getStateValue
int getStateValue()
Output only. The current state of the AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
AppConnection.State getState()
Output only. The current state of the AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasGateway
boolean hasGateway()
Optional. Gateway used by the AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the gateway field is set.
-
getGateway
AppConnection.Gateway getGateway()
Optional. Gateway used by the AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The gateway.
-
getGatewayOrBuilder
AppConnection.GatewayOrBuilder getGatewayOrBuilder()
Optional. Gateway used by the AppConnection.
.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];
-
-