Class EventType (1.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.76.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  EventType   extends   GeneratedMessageV3   implements   EventTypeOrBuilder  
   A representation of the event type resource.
 Protobuf type google.cloud.eventarc.v1.EventType
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  DESCRIPTION_FIELD_NUMBER 
  
    
public   static   final   int   DESCRIPTION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  EVENT_SCHEMA_URI_FIELD_NUMBER 
  
    
public   static   final   int   EVENT_SCHEMA_URI_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  FILTERING_ATTRIBUTES_FIELD_NUMBER 
  
    
public   static   final   int   FILTERING_ATTRIBUTES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TYPE_FIELD_NUMBER 
  
    
public   static   final   int   TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   EventType   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   EventType . Builder   newBuilder ()  
  
  newBuilder(EventType prototype) 
  
    
public   static   EventType . Builder   newBuilder ( EventType   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypeEventType  
     
  
  
  
    
public   static   EventType   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   EventType   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   EventType   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EventType   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   EventType   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EventType   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   EventType   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   EventType   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   EventType   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   EventType   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   EventType   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   EventType   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<EventType>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   EventType   getDefaultInstanceForType ()  
  
  getDescription() 
  
    
public   String   getDescription ()  
   Output only. Human friendly description of what the event type is about.
 For example "Bucket created in Cloud Storage".
 string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The description.
 
     
  
  getDescriptionBytes() 
  
    
public   ByteString   getDescriptionBytes ()  
   Output only. Human friendly description of what the event type is about.
 For example "Bucket created in Cloud Storage".
 string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for description.
 
     
  
  getEventSchemaUri() 
  
    
public   String   getEventSchemaUri ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        String The eventSchemaUri.
 
     
  
  getEventSchemaUriBytes() 
  
    
public   ByteString   getEventSchemaUriBytes ()  
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for eventSchemaUri.
 
     
  
  getFilteringAttributes(int index) 
  
    
public   FilteringAttribute   getFilteringAttributes ( int   index )  
   Output only. Filtering attributes for the event type.
 
 repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getFilteringAttributesCount() 
  
    
public   int   getFilteringAttributesCount ()  
   Output only. Filtering attributes for the event type.
 
 repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getFilteringAttributesList() 
  
    
public   List<FilteringAttribute>   getFilteringAttributesList ()  
   Output only. Filtering attributes for the event type.
 
 repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getFilteringAttributesOrBuilder(int index) 
  
    
public   FilteringAttributeOrBuilder   getFilteringAttributesOrBuilder ( int   index )  
   Output only. Filtering attributes for the event type.
 
 repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getFilteringAttributesOrBuilderList() 
  
    
public   List <?   extends   FilteringAttributeOrBuilder >  getFilteringAttributesOrBuilderList ()  
   Output only. Filtering attributes for the event type.
 
 repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.eventarc.v1.FilteringAttributeOrBuilder > 
     
  
  getParserForType() 
  
    
public   Parser<EventType>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getType() 
  
   Output only. The full name of the event type (for example,
 "google.cloud.storage.object.v1.finalized"). In the form of
 {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be
 versioned and event schemas are guaranteed to remain backward compatible
 within one version. Note that event type versions and API versions do not
 need to match.
 string type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The type.
 
     
  
  getTypeBytes() 
  
    
public   ByteString   getTypeBytes ()  
   Output only. The full name of the event type (for example,
 "google.cloud.storage.object.v1.finalized"). In the form of
 {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be
 versioned and event schemas are guaranteed to remain backward compatible
 within one version. Note that event type versions and API versions do not
 need to match.
 string type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for type.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   EventType . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   EventType . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   EventType . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]