Interface MessageBusOrBuilder

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

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

    • getName

      String getName()
       Identifier. Resource name of the form
       projects/{project}/locations/{location}/messageBuses/{message_bus}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Resource name of the form
       projects/{project}/locations/{location}/messageBuses/{message_bus}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getUid

      String getUid()
       Output only. Server assigned unique identifier for the channel. The value
       is a UUID4 string and guaranteed to remain unchanged until the resource is
       deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. Server assigned unique identifier for the channel. The value
       is a UUID4 string and guaranteed to remain unchanged until the resource is
       deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for uid.
    • getEtag

      String getEtag()
       Output only. This checksum is computed by the server based on the value of
       other fields, and might be sent only on update and delete requests to
       ensure that the client has an up-to-date value before proceeding.
       
      string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Output only. This checksum is computed by the server based on the value of
       other fields, and might be sent only on update and delete requests to
       ensure that the client has an up-to-date value before proceeding.
       
      string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for etag.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

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

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

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

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

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

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

      int getAnnotationsCount()
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • containsAnnotations

      boolean containsAnnotations(String key)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getDisplayName

      String getDisplayName()
       Optional. Resource display name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Resource display name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getCryptoKeyName

      String getCryptoKeyName()
       Optional. Resource name of a KMS crypto key (managed by the user) used to
       encrypt/decrypt their event data.
      
       It must match the pattern
       `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
       
      string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The cryptoKeyName.
    • getCryptoKeyNameBytes

      com.google.protobuf.ByteString getCryptoKeyNameBytes()
       Optional. Resource name of a KMS crypto key (managed by the user) used to
       encrypt/decrypt their event data.
      
       It must match the pattern
       `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
       
      string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for cryptoKeyName.
    • hasLoggingConfig

      boolean hasLoggingConfig()
       Optional. Config to control Platform logging for the Message Bus. This log
       configuration is applied to the Message Bus itself, and all the Enrollments
       attached to it.
       
      .google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the loggingConfig field is set.
    • getLoggingConfig

      LoggingConfig getLoggingConfig()
       Optional. Config to control Platform logging for the Message Bus. This log
       configuration is applied to the Message Bus itself, and all the Enrollments
       attached to it.
       
      .google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The loggingConfig.
    • getLoggingConfigOrBuilder

      LoggingConfigOrBuilder getLoggingConfigOrBuilder()
       Optional. Config to control Platform logging for the Message Bus. This log
       configuration is applied to the Message Bus itself, and all the Enrollments
       attached to it.
       
      .google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL];