Interface PscConnectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PscConnection,PscConnection.Builder
@Generated
public interface PscConnectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Output only.intOutput only.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Output only.intOutput only.Required.com.google.protobuf.ByteStringRequired.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
-
getPscConnectionId
String getPscConnectionId()Required. The PSC connection id of the forwarding rule connected to the service attachment.
string psc_connection_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The pscConnectionId.
-
getPscConnectionIdBytes
com.google.protobuf.ByteString getPscConnectionIdBytes()Required. The PSC connection id of the forwarding rule connected to the service attachment.
string psc_connection_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for pscConnectionId.
-
getAddress
String getAddress()Required. The IP allocated on the consumer network for the PSC forwarding rule.
string address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }- Returns:
- The address.
-
getAddressBytes
com.google.protobuf.ByteString getAddressBytes()Required. The IP allocated on the consumer network for the PSC forwarding rule.
string address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }- Returns:
- The bytes for address.
-
getForwardingRule
String getForwardingRule()Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.string forwarding_rule = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The forwardingRule.
-
getForwardingRuleBytes
com.google.protobuf.ByteString getForwardingRuleBytes()Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.string forwarding_rule = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for forwardingRule.
-
getProjectId
String getProjectId()Optional. Project ID of the consumer project where the forwarding rule is created in.
string project_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Optional. Project ID of the consumer project where the forwarding rule is created in.
string project_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for projectId.
-
getNetwork
String getNetwork()Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.string network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.string network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for network.
-
getServiceAttachment
String getServiceAttachment()Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.string service_attachment = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The serviceAttachment.
-
getServiceAttachmentBytes
com.google.protobuf.ByteString getServiceAttachmentBytes()Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.string service_attachment = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for serviceAttachment.
-
getPscConnectionStatusValue
int getPscConnectionStatusValue()Output only. The status of the PSC connection. Please note that this value is updated periodically. To get the latest status of a PSC connection, follow https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.
.google.cloud.redis.cluster.v1beta1.PscConnectionStatus psc_connection_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for pscConnectionStatus.
-
getPscConnectionStatus
PscConnectionStatus getPscConnectionStatus()Output only. The status of the PSC connection. Please note that this value is updated periodically. To get the latest status of a PSC connection, follow https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.
.google.cloud.redis.cluster.v1beta1.PscConnectionStatus psc_connection_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The pscConnectionStatus.
-
getConnectionTypeValue
int getConnectionTypeValue()Output only. Type of the PSC connection.
.google.cloud.redis.cluster.v1beta1.ConnectionType connection_type = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for connectionType.
-
getConnectionType
ConnectionType getConnectionType()Output only. Type of the PSC connection.
.google.cloud.redis.cluster.v1beta1.ConnectionType connection_type = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The connectionType.
-