public final class EventType extends GeneratedMessageV3 implements EventTypeOrBuilder
A representation of the event type resource.
Protobuf type google.cloud.eventarc.v1.EventType
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
EVENT_SCHEMA_URI_FIELD_NUMBER
public static final int EVENT_SCHEMA_URI_FIELD_NUMBER
Field Value
FILTERING_ATTRIBUTES_FIELD_NUMBER
public static final int FILTERING_ATTRIBUTES_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EventType getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EventType.Builder newBuilder()
Returns
newBuilder(EventType prototype)
public static EventType.Builder newBuilder(EventType prototype)
Parameter
Returns
public static EventType parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EventType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EventType parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EventType parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EventType parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EventType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EventType parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EventType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EventType parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EventType> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EventType getDefaultInstanceForType()
Returns
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
Returns
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
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];
Returns
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
Returns
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()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EventType.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EventType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EventType.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions