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()
         Output only. The resource's name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The resource's name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        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 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 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 update time of the resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsCount

        int getLabelsCount()
         Labels.
         
        map<string, string> labels = 4;
      • containsLabels

        boolean containsLabels​(String key)
         Labels.
         
        map<string, string> labels = 4;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Labels.
         
        map<string, string> labels = 4;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Labels.
         
        map<string, string> labels = 4;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Labels.
         
        map<string, string> labels = 4;
      • getDisplayName

        String getDisplayName()
         Required. Display name.
         
        string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         Required. Display name.
         
        string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for displayName.
      • getStateValue

        int getStateValue()
         Output only. The state of the Private Connection.
         
        .google.cloud.datastream.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.datastream.v1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • hasError

        boolean hasError()
         Output only. In case of error, the details of the error in a user-friendly
         format.
         
        .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the error field is set.
      • getError

        Error getError()
         Output only. In case of error, the details of the error in a user-friendly
         format.
         
        .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The error.
      • getErrorOrBuilder

        ErrorOrBuilder getErrorOrBuilder()
         Output only. In case of error, the details of the error in a user-friendly
         format.
         
        .google.cloud.datastream.v1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasVpcPeeringConfig

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

        VpcPeeringConfig getVpcPeeringConfig()
         VPC Peering Config.
         
        .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100;
        Returns:
        The vpcPeeringConfig.
      • getVpcPeeringConfigOrBuilder

        VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder()
         VPC Peering Config.
         
        .google.cloud.datastream.v1.VpcPeeringConfig vpc_peering_config = 100;