- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.2.4
public static final class EventType.Builder extends GeneratedMessageV3.Builder<EventType.Builder> implements EventTypeOrBuilder
A representation of the event type resource.
Protobuf type google.cloud.eventarc.v1.EventType
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EventType.BuilderImplements
EventTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFilteringAttributes(Iterable<? extends FilteringAttribute> values)
public EventType.Builder addAllFilteringAttributes(Iterable<? extends FilteringAttribute> values)
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 |
values |
Iterable<? extends com.google.cloud.eventarc.v1.FilteringAttribute> |
Returns | |
---|---|
Type | Description |
EventType.Builder |
addFilteringAttributes(FilteringAttribute value)
public EventType.Builder addFilteringAttributes(FilteringAttribute value)
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 |
value |
FilteringAttribute |
Returns | |
---|---|
Type | Description |
EventType.Builder |
addFilteringAttributes(FilteringAttribute.Builder builderForValue)
public EventType.Builder addFilteringAttributes(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
FilteringAttribute.Builder |
Returns | |
---|---|
Type | Description |
EventType.Builder |
addFilteringAttributes(int index, FilteringAttribute value)
public EventType.Builder addFilteringAttributes(int index, FilteringAttribute value)
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
FilteringAttribute |
Returns | |
---|---|
Type | Description |
EventType.Builder |
addFilteringAttributes(int index, FilteringAttribute.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
FilteringAttribute.Builder |
Returns | |
---|---|
Type | Description |
EventType.Builder |
addFilteringAttributesBuilder()
public FilteringAttribute.Builder addFilteringAttributesBuilder()
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 |
FilteringAttribute.Builder |
addFilteringAttributesBuilder(int index)
public FilteringAttribute.Builder addFilteringAttributesBuilder(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 |
index |
int |
Returns | |
---|---|
Type | Description |
FilteringAttribute.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventType.Builder |
build()
public EventType build()
Returns | |
---|---|
Type | Description |
EventType |
buildPartial()
public EventType buildPartial()
Returns | |
---|---|
Type | Description |
EventType |
clear()
public EventType.Builder clear()
Returns | |
---|---|
Type | Description |
EventType.Builder |
clearDescription()
public EventType.Builder 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 | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
clearEventSchemaUri()
public EventType.Builder 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 | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EventType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EventType.Builder |
clearFilteringAttributes()
public EventType.Builder clearFilteringAttributes()
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 |
EventType.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EventType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EventType.Builder |
clearType()
public EventType.Builder 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 | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
clone()
public EventType.Builder clone()
Returns | |
---|---|
Type | Description |
EventType.Builder |
getDefaultInstanceForType()
public EventType getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EventType |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEventSchemaUri()
public String 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];
Returns | |
---|---|
Type | Description |
String |
The eventSchemaUri. |
getEventSchemaUriBytes()
public 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];
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 |
index |
int |
Returns | |
---|---|
Type | Description |
FilteringAttribute |
getFilteringAttributesBuilder(int index)
public FilteringAttribute.Builder getFilteringAttributesBuilder(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 |
index |
int |
Returns | |
---|---|
Type | Description |
FilteringAttribute.Builder |
getFilteringAttributesBuilderList()
public List<FilteringAttribute.Builder> getFilteringAttributesBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
List<FilteringAttribute> |
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 |
index |
int |
Returns | |
---|---|
Type | Description |
FilteringAttributeOrBuilder |
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> |
getType()
public String 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(EventType other)
public EventType.Builder mergeFrom(EventType other)
Parameter | |
---|---|
Name | Description |
other |
EventType |
Returns | |
---|---|
Type | Description |
EventType.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EventType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventType.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EventType.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EventType.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventType.Builder |
removeFilteringAttributes(int index)
public EventType.Builder removeFilteringAttributes(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 |
index |
int |
Returns | |
---|---|
Type | Description |
EventType.Builder |
setDescription(String value)
public EventType.Builder setDescription(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public EventType.Builder setDescriptionBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
setEventSchemaUri(String value)
public EventType.Builder setEventSchemaUri(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The eventSchemaUri to set. |
Returns | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
setEventSchemaUriBytes(ByteString value)
public EventType.Builder setEventSchemaUriBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for eventSchemaUri to set. |
Returns | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EventType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventType.Builder |
setFilteringAttributes(int index, FilteringAttribute value)
public EventType.Builder setFilteringAttributes(int index, FilteringAttribute value)
Output only. Filtering attributes for the event type.
repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
FilteringAttribute |
Returns | |
---|---|
Type | Description |
EventType.Builder |
setFilteringAttributes(int index, FilteringAttribute.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
FilteringAttribute.Builder |
Returns | |
---|---|
Type | Description |
EventType.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EventType.Builder |
setType(String value)
public EventType.Builder setType(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public EventType.Builder setTypeBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
EventType.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EventType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventType.Builder |