public static final class PublishChannelConnectionEventsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder> implements PublishChannelConnectionEventsRequestOrBuilder
The request message for the PublishChannelConnectionEvents method.Protobuf type
google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest| Modifier and Type | Method and Description |
|---|---|
PublishChannelConnectionEventsRequest.Builder |
addAllEvents(Iterable<? extends com.google.protobuf.Any> values)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
addAllTextEvents(Iterable<String> values)
The text representation of events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
addEvents(com.google.protobuf.Any.Builder builderForValue)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
addEvents(com.google.protobuf.Any value)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
addEvents(int index,
com.google.protobuf.Any.Builder builderForValue)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
addEvents(int index,
com.google.protobuf.Any value)
The CloudEvents v1.0 events to publish.
|
com.google.protobuf.Any.Builder |
addEventsBuilder()
The CloudEvents v1.0 events to publish.
|
com.google.protobuf.Any.Builder |
addEventsBuilder(int index)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PublishChannelConnectionEventsRequest.Builder |
addTextEvents(String value)
The text representation of events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
addTextEventsBytes(com.google.protobuf.ByteString value)
The text representation of events to publish.
|
PublishChannelConnectionEventsRequest |
build() |
PublishChannelConnectionEventsRequest |
buildPartial() |
PublishChannelConnectionEventsRequest.Builder |
clear() |
PublishChannelConnectionEventsRequest.Builder |
clearChannelConnection()
The channel_connection that the events are published from.
|
PublishChannelConnectionEventsRequest.Builder |
clearEvents()
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PublishChannelConnectionEventsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PublishChannelConnectionEventsRequest.Builder |
clearTextEvents()
The text representation of events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
clone() |
String |
getChannelConnection()
The channel_connection that the events are published from.
|
com.google.protobuf.ByteString |
getChannelConnectionBytes()
The channel_connection that the events are published from.
|
PublishChannelConnectionEventsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Any |
getEvents(int index)
The CloudEvents v1.0 events to publish.
|
com.google.protobuf.Any.Builder |
getEventsBuilder(int index)
The CloudEvents v1.0 events to publish.
|
List<com.google.protobuf.Any.Builder> |
getEventsBuilderList()
The CloudEvents v1.0 events to publish.
|
int |
getEventsCount()
The CloudEvents v1.0 events to publish.
|
List<com.google.protobuf.Any> |
getEventsList()
The CloudEvents v1.0 events to publish.
|
com.google.protobuf.AnyOrBuilder |
getEventsOrBuilder(int index)
The CloudEvents v1.0 events to publish.
|
List<? extends com.google.protobuf.AnyOrBuilder> |
getEventsOrBuilderList()
The CloudEvents v1.0 events to publish.
|
String |
getTextEvents(int index)
The text representation of events to publish.
|
com.google.protobuf.ByteString |
getTextEventsBytes(int index)
The text representation of events to publish.
|
int |
getTextEventsCount()
The text representation of events to publish.
|
com.google.protobuf.ProtocolStringList |
getTextEventsList()
The text representation of events to publish.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PublishChannelConnectionEventsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PublishChannelConnectionEventsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
PublishChannelConnectionEventsRequest.Builder |
mergeFrom(PublishChannelConnectionEventsRequest other) |
PublishChannelConnectionEventsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PublishChannelConnectionEventsRequest.Builder |
removeEvents(int index)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
setChannelConnection(String value)
The channel_connection that the events are published from.
|
PublishChannelConnectionEventsRequest.Builder |
setChannelConnectionBytes(com.google.protobuf.ByteString value)
The channel_connection that the events are published from.
|
PublishChannelConnectionEventsRequest.Builder |
setEvents(int index,
com.google.protobuf.Any.Builder builderForValue)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
setEvents(int index,
com.google.protobuf.Any value)
The CloudEvents v1.0 events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PublishChannelConnectionEventsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PublishChannelConnectionEventsRequest.Builder |
setTextEvents(int index,
String value)
The text representation of events to publish.
|
PublishChannelConnectionEventsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PublishChannelConnectionEventsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PublishChannelConnectionEventsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PublishChannelConnectionEventsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder mergeFrom(PublishChannelConnectionEventsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public PublishChannelConnectionEventsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublishChannelConnectionEventsRequest.Builder>IOExceptionpublic String getChannelConnection()
The channel_connection that the events are published from. For example:
`projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
string channel_connection = 1;getChannelConnection in interface PublishChannelConnectionEventsRequestOrBuilderpublic com.google.protobuf.ByteString getChannelConnectionBytes()
The channel_connection that the events are published from. For example:
`projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
string channel_connection = 1;getChannelConnectionBytes in interface PublishChannelConnectionEventsRequestOrBuilderpublic PublishChannelConnectionEventsRequest.Builder setChannelConnection(String value)
The channel_connection that the events are published from. For example:
`projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
string channel_connection = 1;value - The channelConnection to set.public PublishChannelConnectionEventsRequest.Builder clearChannelConnection()
The channel_connection that the events are published from. For example:
`projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
string channel_connection = 1;public PublishChannelConnectionEventsRequest.Builder setChannelConnectionBytes(com.google.protobuf.ByteString value)
The channel_connection that the events are published from. For example:
`projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
string channel_connection = 1;value - The bytes for channelConnection to set.public List<com.google.protobuf.Any> getEventsList()
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;getEventsList in interface PublishChannelConnectionEventsRequestOrBuilderpublic int getEventsCount()
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;getEventsCount in interface PublishChannelConnectionEventsRequestOrBuilderpublic com.google.protobuf.Any getEvents(int index)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;getEvents in interface PublishChannelConnectionEventsRequestOrBuilderpublic PublishChannelConnectionEventsRequest.Builder setEvents(int index, com.google.protobuf.Any value)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder setEvents(int index, com.google.protobuf.Any.Builder builderForValue)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder addEvents(com.google.protobuf.Any value)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder addEvents(int index, com.google.protobuf.Any value)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder addEvents(com.google.protobuf.Any.Builder builderForValue)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder addEvents(int index, com.google.protobuf.Any.Builder builderForValue)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder addAllEvents(Iterable<? extends com.google.protobuf.Any> values)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder clearEvents()
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public PublishChannelConnectionEventsRequest.Builder removeEvents(int index)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public com.google.protobuf.Any.Builder getEventsBuilder(int index)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public com.google.protobuf.AnyOrBuilder getEventsOrBuilder(int index)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;getEventsOrBuilder in interface PublishChannelConnectionEventsRequestOrBuilderpublic List<? extends com.google.protobuf.AnyOrBuilder> getEventsOrBuilderList()
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;getEventsOrBuilderList in interface PublishChannelConnectionEventsRequestOrBuilderpublic com.google.protobuf.Any.Builder addEventsBuilder()
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public com.google.protobuf.Any.Builder addEventsBuilder(int index)
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public List<com.google.protobuf.Any.Builder> getEventsBuilderList()
The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the `text_events` fields must not be set.
repeated .google.protobuf.Any events = 2;public com.google.protobuf.ProtocolStringList getTextEventsList()
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;getTextEventsList in interface PublishChannelConnectionEventsRequestOrBuilderpublic int getTextEventsCount()
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;getTextEventsCount in interface PublishChannelConnectionEventsRequestOrBuilderpublic String getTextEvents(int index)
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;getTextEvents in interface PublishChannelConnectionEventsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTextEventsBytes(int index)
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;getTextEventsBytes in interface PublishChannelConnectionEventsRequestOrBuilderindex - The index of the value to return.public PublishChannelConnectionEventsRequest.Builder setTextEvents(int index, String value)
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;index - The index to set the value at.value - The textEvents to set.public PublishChannelConnectionEventsRequest.Builder addTextEvents(String value)
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;value - The textEvents to add.public PublishChannelConnectionEventsRequest.Builder addAllTextEvents(Iterable<String> values)
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;values - The textEvents to add.public PublishChannelConnectionEventsRequest.Builder clearTextEvents()
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;public PublishChannelConnectionEventsRequest.Builder addTextEventsBytes(com.google.protobuf.ByteString value)
The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the `events` fields must not be set.
repeated string text_events = 3;value - The bytes of the textEvents to add.public final PublishChannelConnectionEventsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>public final PublishChannelConnectionEventsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.