Interface TriggerOrBuilder

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

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

    • getName

      String getName()
       Required. The resource name of the trigger. Must be unique within the
       location of the project and must be in
       `projects/{project}/locations/{location}/triggers/{trigger}` format.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the trigger. Must be unique within the
       location of the project and must be in
       `projects/{project}/locations/{location}/triggers/{trigger}` format.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • getUid

      String getUid()
       Output only. Server-assigned unique identifier for the trigger. 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 trigger. 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.
    • hasCreateTime

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

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

      List<EventFilter> getEventFiltersList()
       Required. Unordered list. The list of filters that applies to event
       attributes. Only events that match all the provided filters are sent to the
       destination.
       
      repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getEventFilters

      EventFilter getEventFilters(int index)
       Required. Unordered list. The list of filters that applies to event
       attributes. Only events that match all the provided filters are sent to the
       destination.
       
      repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getEventFiltersCount

      int getEventFiltersCount()
       Required. Unordered list. The list of filters that applies to event
       attributes. Only events that match all the provided filters are sent to the
       destination.
       
      repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getEventFiltersOrBuilderList

      List<? extends EventFilterOrBuilder> getEventFiltersOrBuilderList()
       Required. Unordered list. The list of filters that applies to event
       attributes. Only events that match all the provided filters are sent to the
       destination.
       
      repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getEventFiltersOrBuilder

      EventFilterOrBuilder getEventFiltersOrBuilder(int index)
       Required. Unordered list. The list of filters that applies to event
       attributes. Only events that match all the provided filters are sent to the
       destination.
       
      repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getServiceAccount

      String getServiceAccount()
       Optional. The IAM service account email associated with the trigger. The
       service account represents the identity of the trigger.
      
       The `iam.serviceAccounts.actAs` permission must be granted on the service
       account to allow a principal to impersonate the service account. For more
       information, see the
       [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific
       to the trigger destination.
       
      string service_account = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      com.google.protobuf.ByteString getServiceAccountBytes()
       Optional. The IAM service account email associated with the trigger. The
       service account represents the identity of the trigger.
      
       The `iam.serviceAccounts.actAs` permission must be granted on the service
       account to allow a principal to impersonate the service account. For more
       information, see the
       [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific
       to the trigger destination.
       
      string service_account = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for serviceAccount.
    • hasDestination

      boolean hasDestination()
       Required. Destination specifies where the events should be sent to.
       
      .google.cloud.eventarc.v1.Destination destination = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the destination field is set.
    • getDestination

      Destination getDestination()
       Required. Destination specifies where the events should be sent to.
       
      .google.cloud.eventarc.v1.Destination destination = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The destination.
    • getDestinationOrBuilder

      DestinationOrBuilder getDestinationOrBuilder()
       Required. Destination specifies where the events should be sent to.
       
      .google.cloud.eventarc.v1.Destination destination = 10 [(.google.api.field_behavior) = REQUIRED];
    • hasTransport

      boolean hasTransport()
       Optional. To deliver messages, Eventarc might use other Google Cloud
       products as a transport intermediary. This field contains a reference to
       that transport intermediary. This information can be used for debugging
       purposes.
       
      .google.cloud.eventarc.v1.Transport transport = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the transport field is set.
    • getTransport

      Transport getTransport()
       Optional. To deliver messages, Eventarc might use other Google Cloud
       products as a transport intermediary. This field contains a reference to
       that transport intermediary. This information can be used for debugging
       purposes.
       
      .google.cloud.eventarc.v1.Transport transport = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The transport.
    • getTransportOrBuilder

      TransportOrBuilder getTransportOrBuilder()
       Optional. To deliver messages, Eventarc might use other Google Cloud
       products as a transport intermediary. This field contains a reference to
       that transport intermediary. This information can be used for debugging
       purposes.
       
      .google.cloud.eventarc.v1.Transport transport = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      int getLabelsCount()
       Optional. User labels attached to the triggers that can be used to group
       resources.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. User labels attached to the triggers that can be used to group
       resources.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. User labels attached to the triggers that can be used to group
       resources.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. User labels attached to the triggers that can be used to group
       resources.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. User labels attached to the triggers that can be used to group
       resources.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getChannel

      String getChannel()
       Optional. The name of the channel associated with the trigger in
       `projects/{project}/locations/{location}/channels/{channel}` format.
       You must provide a channel to receive events from Eventarc SaaS partners.
       
      string channel = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The channel.
    • getChannelBytes

      com.google.protobuf.ByteString getChannelBytes()
       Optional. The name of the channel associated with the trigger in
       `projects/{project}/locations/{location}/channels/{channel}` format.
       You must provide a channel to receive events from Eventarc SaaS partners.
       
      string channel = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for channel.
    • getConditionsCount

      int getConditionsCount()
       Output only. The reason(s) why a trigger is in FAILED state.
       
      map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • containsConditions

      boolean containsConditions(String key)
       Output only. The reason(s) why a trigger is in FAILED state.
       
      map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConditions

      Deprecated.
      Use getConditionsMap() instead.
    • getConditionsMap

      Map<String,StateCondition> getConditionsMap()
       Output only. The reason(s) why a trigger is in FAILED state.
       
      map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConditionsOrDefault

      StateCondition getConditionsOrDefault(String key, StateCondition defaultValue)
       Output only. The reason(s) why a trigger is in FAILED state.
       
      map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConditionsOrThrow

      StateCondition getConditionsOrThrow(String key)
       Output only. The reason(s) why a trigger is in FAILED state.
       
      map<string, .google.cloud.eventarc.v1.StateCondition> conditions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEventDataContentType

      String getEventDataContentType()
       Optional. EventDataContentType specifies the type of payload in MIME
       format that is expected from the CloudEvent data field. This is set to
       `application/json` if the value is not defined.
       
      string event_data_content_type = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The eventDataContentType.
    • getEventDataContentTypeBytes

      com.google.protobuf.ByteString getEventDataContentTypeBytes()
       Optional. EventDataContentType specifies the type of payload in MIME
       format that is expected from the CloudEvent data field. This is set to
       `application/json` if the value is not defined.
       
      string event_data_content_type = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for eventDataContentType.
    • getSatisfiesPzs

      boolean getSatisfiesPzs()
       Output only. Whether or not this Trigger satisfies the requirements of
       physical zone separation
       
      bool satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The satisfiesPzs.
    • hasRetryPolicy

      boolean hasRetryPolicy()
       Optional. The retry policy to use in the Trigger.
      
       If unset, event delivery will be retried for up to 24 hours by default:
       https://cloud.google.com/eventarc/docs/retry-events
       
      .google.cloud.eventarc.v1.Trigger.RetryPolicy retry_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      Trigger.RetryPolicy getRetryPolicy()
       Optional. The retry policy to use in the Trigger.
      
       If unset, event delivery will be retried for up to 24 hours by default:
       https://cloud.google.com/eventarc/docs/retry-events
       
      .google.cloud.eventarc.v1.Trigger.RetryPolicy retry_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The retryPolicy.
    • getRetryPolicyOrBuilder

      Trigger.RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       Optional. The retry policy to use in the Trigger.
      
       If unset, event delivery will be retried for up to 24 hours by default:
       https://cloud.google.com/eventarc/docs/retry-events
       
      .google.cloud.eventarc.v1.Trigger.RetryPolicy retry_policy = 20 [(.google.api.field_behavior) = OPTIONAL];
    • 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 create requests to ensure that the
       client has an up-to-date value before proceeding.
       
      string etag = 99 [(.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 create requests to ensure that the
       client has an up-to-date value before proceeding.
       
      string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for etag.