Interface PrivateConnectionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PrivateConnection, PrivateConnection.Builder

    public interface PrivateConnectionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The name of the resource.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the resource.
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The create time of the resource.
         
        .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. The create time of the resource.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The create time of the resource.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The last update time of the resource.
         
        .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. The last update time of the resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The last update time of the resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsCount

        int getLabelsCount()
         The resource labels for private connections to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • containsLabels

        boolean containsLabels​(String key)
         The resource labels for private connections to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         The resource labels for private connections to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         The resource labels for private connections to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         The resource labels for private connections to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getDisplayName

        String getDisplayName()
         The private connection display name.
         
        string display_name = 5;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         The private connection display name.
         
        string display_name = 5;
        Returns:
        The bytes for displayName.
      • getStateValue

        int getStateValue()
         Output only. The state of the private connection.
         
        .google.cloud.clouddms.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        PrivateConnection.State getState()
         Output only. The state of the private connection.
         
        .google.cloud.clouddms.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • hasError

        boolean hasError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the error field is set.
      • getError

        com.google.rpc.Status getError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The error.
      • getErrorOrBuilder

        com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasVpcPeeringConfig

        boolean hasVpcPeeringConfig()
         VPC peering configuration.
         
        .google.cloud.clouddms.v1.VpcPeeringConfig vpc_peering_config = 100;
        Returns:
        Whether the vpcPeeringConfig field is set.
      • getVpcPeeringConfig

        VpcPeeringConfig getVpcPeeringConfig()
         VPC peering configuration.
         
        .google.cloud.clouddms.v1.VpcPeeringConfig vpc_peering_config = 100;
        Returns:
        The vpcPeeringConfig.
      • getVpcPeeringConfigOrBuilder

        VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder()
         VPC peering configuration.
         
        .google.cloud.clouddms.v1.VpcPeeringConfig vpc_peering_config = 100;