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 boolean
containsLabels(String key)
Optional.AppConnection.ApplicationEndpoint
getApplicationEndpoint()
Required.AppConnection.ApplicationEndpointOrBuilder
getApplicationEndpointOrBuilder()
Required.String
getConnectors(int index)
Optional.com.google.protobuf.ByteString
getConnectorsBytes(int index)
Optional.int
getConnectorsCount()
Optional.List<String>
getConnectorsList()
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.AppConnection.Gateway
getGateway()
Optional.AppConnection.GatewayOrBuilder
getGatewayOrBuilder()
Optional.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.AppConnection.State
getState()
Output only.int
getStateValue()
Output only.AppConnection.Type
getType()
Required.int
getTypeValue()
Required.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasApplicationEndpoint()
Required.boolean
hasCreateTime()
Output only.boolean
hasGateway()
Optional.boolean
hasUpdateTime()
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];
-
-