/*
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/eventarc/v1/trigger.proto

package com.google.cloud.eventarc.v1;

public final class TriggerProto {
  private TriggerProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_Trigger_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_Trigger_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_Trigger_LabelsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_Trigger_LabelsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_Trigger_ConditionsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_Trigger_ConditionsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_EventFilter_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_EventFilter_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_StateCondition_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_StateCondition_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_Destination_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_Destination_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_Transport_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_Transport_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_CloudRun_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_CloudRun_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_GKE_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_GKE_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_eventarc_v1_Pubsub_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_eventarc_v1_Pubsub_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n&google/cloud/eventarc/v1/trigger.proto"
          + "\022\030google.cloud.eventarc.v1\032\037google/api/f"
          + "ield_behavior.proto\032\031google/api/resource"
          + ".proto\032\037google/protobuf/timestamp.proto\032"
          + "\025google/rpc/code.proto\"\346\006\n\007Trigger\022\022\n\004na"
          + "me\030\001 \001(\tB\004\342A\001\002\022\021\n\003uid\030\002 \001(\tB\004\342A\001\003\0225\n\013cre"
          + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta"
          + "mpB\004\342A\001\003\0225\n\013update_time\030\006 \001(\0132\032.google.p"
          + "rotobuf.TimestampB\004\342A\001\003\022C\n\revent_filters"
          + "\030\010 \003(\0132%.google.cloud.eventarc.v1.EventF"
          + "ilterB\005\342A\002\006\002\022C\n\017service_account\030\t \001(\tB*\342"
          + "A\001\001\372A#\n!iam.googleapis.com/ServiceAccoun"
          + "t\022@\n\013destination\030\n \001(\0132%.google.cloud.ev"
          + "entarc.v1.DestinationB\004\342A\001\002\022<\n\ttransport"
          + "\030\013 \001(\0132#.google.cloud.eventarc.v1.Transp"
          + "ortB\004\342A\001\001\022C\n\006labels\030\014 \003(\0132-.google.cloud"
          + ".eventarc.v1.Trigger.LabelsEntryB\004\342A\001\001\022\025"
          + "\n\007channel\030\r \001(\tB\004\342A\001\001\022K\n\nconditions\030\017 \003("
          + "\01321.google.cloud.eventarc.v1.Trigger.Con"
          + "ditionsEntryB\004\342A\001\003\022\022\n\004etag\030c \001(\tB\004\342A\001\003\032-"
          + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
          + "\t:\0028\001\032[\n\017ConditionsEntry\022\013\n\003key\030\001 \001(\t\0227\n"
          + "\005value\030\002 \001(\0132(.google.cloud.eventarc.v1."
          + "StateCondition:\0028\001:s\352Ap\n\037eventarc.google"
          + "apis.com/Trigger\022:projects/{project}/loc"
          + "ations/{location}/triggers/{trigger}*\010tr"
          + "iggers2\007trigger\"S\n\013EventFilter\022\027\n\tattrib"
          + "ute\030\001 \001(\tB\004\342A\001\002\022\023\n\005value\030\002 \001(\tB\004\342A\001\002\022\026\n\010"
          + "operator\030\003 \001(\tB\004\342A\001\001\"A\n\016StateCondition\022\036"
          + "\n\004code\030\001 \001(\0162\020.google.rpc.Code\022\017\n\007messag"
          + "e\030\002 \001(\t\"\212\002\n\013Destination\0227\n\tcloud_run\030\001 \001"
          + "(\0132\".google.cloud.eventarc.v1.CloudRunH\000"
          + "\022J\n\016cloud_function\030\002 \001(\tB0\372A-\n+cloudfunc"
          + "tions.googleapis.com/CloudFunctionH\000\022,\n\003"
          + "gke\030\003 \001(\0132\035.google.cloud.eventarc.v1.GKE"
          + "H\000\022:\n\010workflow\030\004 \001(\tB&\372A#\n!workflows.goo"
          + "gleapis.com/WorkflowH\000B\014\n\ndescriptor\"O\n\t"
          + "Transport\0222\n\006pubsub\030\001 \001(\0132 .google.cloud"
          + ".eventarc.v1.PubsubH\000B\016\n\014intermediary\"j\n"
          + "\010CloudRun\0224\n\007service\030\001 \001(\tB#\342A\001\002\372A\034\n\032run"
          + ".googleapis.com/Service\022\022\n\004path\030\002 \001(\tB\004\342"
          + "A\001\001\022\024\n\006region\030\003 \001(\tB\004\342A\001\002\"x\n\003GKE\022\025\n\007clus"
          + "ter\030\001 \001(\tB\004\342A\001\002\022\026\n\010location\030\002 \001(\tB\004\342A\001\002\022"
          + "\027\n\tnamespace\030\003 \001(\tB\004\342A\001\002\022\025\n\007service\030\004 \001("
          + "\tB\004\342A\001\002\022\022\n\004path\030\005 \001(\tB\004\342A\001\001\"9\n\006Pubsub\022\023\n"
          + "\005topic\030\001 \001(\tB\004\342A\001\001\022\032\n\014subscription\030\002 \001(\t"
          + "B\004\342A\001\003B\270\003\n\034com.google.cloud.eventarc.v1B"
          + "\014TriggerProtoP\001Z8cloud.google.com/go/eve"
          + "ntarc/apiv1/eventarcpb;eventarcpb\352Ak\n+cl"
          + "oudfunctions.googleapis.com/CloudFunctio"
          + "n\022<projects/{project}/locations/{locatio"
          + "n}/functions/{function}\352AY\n!iam.googleap"
          + "is.com/ServiceAccount\0224projects/{project"
          + "}/serviceAccounts/{service_account}\352A\037\n\032"
          + "run.googleapis.com/Service\022\001*\352Aa\n!workfl"
          + "ows.googleapis.com/Workflow\022<projects/{p"
          + "roject}/locations/{location}/workflows/{"
          + "workflow}b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
              com.google.rpc.CodeProto.getDescriptor(),
            });
    internal_static_google_cloud_eventarc_v1_Trigger_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_eventarc_v1_Trigger_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_Trigger_descriptor,
            new java.lang.String[] {
              "Name",
              "Uid",
              "CreateTime",
              "UpdateTime",
              "EventFilters",
              "ServiceAccount",
              "Destination",
              "Transport",
              "Labels",
              "Channel",
              "Conditions",
              "Etag",
            });
    internal_static_google_cloud_eventarc_v1_Trigger_LabelsEntry_descriptor =
        internal_static_google_cloud_eventarc_v1_Trigger_descriptor.getNestedTypes().get(0);
    internal_static_google_cloud_eventarc_v1_Trigger_LabelsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_Trigger_LabelsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_eventarc_v1_Trigger_ConditionsEntry_descriptor =
        internal_static_google_cloud_eventarc_v1_Trigger_descriptor.getNestedTypes().get(1);
    internal_static_google_cloud_eventarc_v1_Trigger_ConditionsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_Trigger_ConditionsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_eventarc_v1_EventFilter_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_eventarc_v1_EventFilter_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_EventFilter_descriptor,
            new java.lang.String[] {
              "Attribute", "Value", "Operator",
            });
    internal_static_google_cloud_eventarc_v1_StateCondition_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_eventarc_v1_StateCondition_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_StateCondition_descriptor,
            new java.lang.String[] {
              "Code", "Message",
            });
    internal_static_google_cloud_eventarc_v1_Destination_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_eventarc_v1_Destination_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_Destination_descriptor,
            new java.lang.String[] {
              "CloudRun", "CloudFunction", "Gke", "Workflow", "Descriptor",
            });
    internal_static_google_cloud_eventarc_v1_Transport_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_cloud_eventarc_v1_Transport_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_Transport_descriptor,
            new java.lang.String[] {
              "Pubsub", "Intermediary",
            });
    internal_static_google_cloud_eventarc_v1_CloudRun_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_cloud_eventarc_v1_CloudRun_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_CloudRun_descriptor,
            new java.lang.String[] {
              "Service", "Path", "Region",
            });
    internal_static_google_cloud_eventarc_v1_GKE_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_cloud_eventarc_v1_GKE_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_GKE_descriptor,
            new java.lang.String[] {
              "Cluster", "Location", "Namespace", "Service", "Path",
            });
    internal_static_google_cloud_eventarc_v1_Pubsub_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_cloud_eventarc_v1_Pubsub_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_eventarc_v1_Pubsub_descriptor,
            new java.lang.String[] {
              "Topic", "Subscription",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    registry.add(com.google.api.ResourceProto.resourceDefinition);
    registry.add(com.google.api.ResourceProto.resourceReference);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
    com.google.rpc.CodeProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
