Package com.google.cloud.eventarc.v1
Class EventType.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EventType.Builder>
com.google.cloud.eventarc.v1.EventType.Builder
- All Implemented Interfaces:
EventTypeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EventType
public static final class EventType.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EventType.Builder>
implements EventTypeOrBuilder
A representation of the event type resource.Protobuf type
google.cloud.eventarc.v1.EventType-
Method Summary
Modifier and TypeMethodDescriptionaddAllFilteringAttributes(Iterable<? extends FilteringAttribute> values) Output only.addFilteringAttributes(int index, FilteringAttribute value) Output only.addFilteringAttributes(int index, FilteringAttribute.Builder builderForValue) Output only.Output only.addFilteringAttributes(FilteringAttribute.Builder builderForValue) Output only.Output only.addFilteringAttributesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getFilteringAttributes(int index) Output only.getFilteringAttributesBuilder(int index) Output only.Output only.intOutput only.Output only.getFilteringAttributesOrBuilder(int index) Output only.List<? extends FilteringAttributeOrBuilder>Output only.getType()Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFilteringAttributes(int index) Output only.setDescription(String value) Output only.setDescriptionBytes(com.google.protobuf.ByteString value) Output only.setEventSchemaUri(String value) Output only.setEventSchemaUriBytes(com.google.protobuf.ByteString value) Output only.setFilteringAttributes(int index, FilteringAttribute value) Output only.setFilteringAttributes(int index, FilteringAttribute.Builder builderForValue) Output only.Output only.setTypeBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EventType.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EventType.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EventType.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EventType.Builder>
-
mergeFrom
public EventType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventType.Builder>- Throws:
IOException
-
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];- Specified by:
getTypein interfaceEventTypeOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.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];- Specified by:
getTypeBytesin interfaceEventTypeOrBuilder- Returns:
- The bytes for type.
-
setType
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];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
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:
- This builder for chaining.
-
setTypeBytes
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];- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDescriptionin interfaceEventTypeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.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];- Specified by:
getDescriptionBytesin interfaceEventTypeOrBuilder- Returns:
- The bytes for description.
-
setDescription
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];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
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:
- This builder for chaining.
-
setDescriptionBytes
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];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getFilteringAttributesList
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFilteringAttributesListin interfaceEventTypeOrBuilder
-
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];- Specified by:
getFilteringAttributesCountin interfaceEventTypeOrBuilder
-
getFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFilteringAttributesin interfaceEventTypeOrBuilder
-
setFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setFilteringAttributes
public EventType.Builder setFilteringAttributes(int index, FilteringAttribute.Builder builderForValue) Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFilteringAttributes
public EventType.Builder addFilteringAttributes(int index, FilteringAttribute.Builder builderForValue) Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeFilteringAttributes
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFilteringAttributesBuilder
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFilteringAttributesOrBuilder
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFilteringAttributesOrBuilderin interfaceEventTypeOrBuilder
-
getFilteringAttributesOrBuilderList
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFilteringAttributesOrBuilderListin interfaceEventTypeOrBuilder
-
addFilteringAttributesBuilder
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFilteringAttributesBuilder
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFilteringAttributesBuilderList
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEventSchemaUri
Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto"
string event_schema_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventSchemaUriin interfaceEventTypeOrBuilder- Returns:
- The eventSchemaUri.
-
getEventSchemaUriBytes
public com.google.protobuf.ByteString getEventSchemaUriBytes()Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto"
string event_schema_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventSchemaUriBytesin interfaceEventTypeOrBuilder- Returns:
- The bytes for eventSchemaUri.
-
setEventSchemaUri
Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto"
string event_schema_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The eventSchemaUri to set.- Returns:
- This builder for chaining.
-
clearEventSchemaUri
Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto"
string event_schema_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEventSchemaUriBytes
Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto"
string event_schema_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for eventSchemaUri to set.- Returns:
- This builder for chaining.
-