Interface ChannelConnectionOrBuilder

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

@Generated public interface ChannelConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Required. The name of the connection.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The name of the connection.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • getUid

      String getUid()
       Output only. Server assigned ID of the resource.
       The server guarantees uniqueness and immutability until deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. Server assigned ID of the resource.
       The server guarantees uniqueness and immutability until deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for uid.
    • getChannel

      String getChannel()
       Required. The name of the connected subscriber Channel.
       This is a weak reference to avoid cross project and cross accounts
       references. This must be in
       `projects/{project}/location/{location}/channels/{channel_id}` format.
       
      string channel = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The channel.
    • getChannelBytes

      com.google.protobuf.ByteString getChannelBytes()
       Required. The name of the connected subscriber Channel.
       This is a weak reference to avoid cross project and cross accounts
       references. This must be in
       `projects/{project}/location/{location}/channels/{channel_id}` format.
       
      string channel = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for channel.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getActivationToken

      String getActivationToken()
       Input only. Activation token for the channel. The token will be used
       during the creation of ChannelConnection to bind the channel with the
       provider project. This field will not be stored in the provider resource.
       
      string activation_token = 8 [(.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      The activationToken.
    • getActivationTokenBytes

      com.google.protobuf.ByteString getActivationTokenBytes()
       Input only. Activation token for the channel. The token will be used
       during the creation of ChannelConnection to bind the channel with the
       provider project. This field will not be stored in the provider resource.
       
      string activation_token = 8 [(.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      The bytes for activationToken.
    • getLabelsCount

      int getLabelsCount()
       Optional. Resource labels.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Resource labels.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Resource labels.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Resource labels.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Resource labels.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];