- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
public static final class PublishChannelConnectionEventsRequest.Builder extends GeneratedMessageV3.Builder<PublishChannelConnectionEventsRequest.Builder> implements PublishChannelConnectionEventsRequestOrBuilder
The request message for the PublishChannelConnectionEvents method.
Protobuf type google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PublishChannelConnectionEventsRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllEvents(Iterable<? extends Any> values)
public PublishChannelConnectionEventsRequest.Builder addAllEvents(Iterable<? extends 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;
Name | Description |
values | Iterable<? extends com.google.protobuf.Any> |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
addAllTextEvents(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The textEvents to add. |
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
addEvents(Any value)
public PublishChannelConnectionEventsRequest.Builder addEvents(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;
Name | Description |
value | Any |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
addEvents(Any.Builder builderForValue)
public PublishChannelConnectionEventsRequest.Builder addEvents(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;
Name | Description |
builderForValue | Builder |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
addEvents(int index, Any value)
public PublishChannelConnectionEventsRequest.Builder addEvents(int index, 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;
Name | Description |
index | int |
value | Any |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
addEvents(int index, Any.Builder builderForValue)
public PublishChannelConnectionEventsRequest.Builder addEvents(int index, 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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
addEventsBuilder()
public 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;
Type | Description |
Builder |
addEventsBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PublishChannelConnectionEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
addTextEvents(String value)
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;
Name | Description |
value | String The textEvents to add. |
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
addTextEventsBytes(ByteString value)
public PublishChannelConnectionEventsRequest.Builder addTextEventsBytes(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;
Name | Description |
value | ByteString The bytes of the textEvents to add. |
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
build()
public PublishChannelConnectionEventsRequest build()
Type | Description |
PublishChannelConnectionEventsRequest |
buildPartial()
public PublishChannelConnectionEventsRequest buildPartial()
Type | Description |
PublishChannelConnectionEventsRequest |
clear()
public PublishChannelConnectionEventsRequest.Builder clear()
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
clearChannelConnection()
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;
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
clearEvents()
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;
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public PublishChannelConnectionEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PublishChannelConnectionEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
clearTextEvents()
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;
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
clone()
public PublishChannelConnectionEventsRequest.Builder clone()
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
getChannelConnection()
public 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;
Type | Description |
String | The channelConnection. |
getChannelConnectionBytes()
public 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;
Type | Description |
ByteString | The bytes for channelConnection. |
getDefaultInstanceForType()
public PublishChannelConnectionEventsRequest getDefaultInstanceForType()
Type | Description |
PublishChannelConnectionEventsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEvents(int index)
public 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;
Name | Description |
index | int |
Type | Description |
Any |
getEventsBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
Builder |
getEventsBuilderList()
public List<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;
Type | Description |
List<Builder> |
getEventsCount()
public 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;
Type | Description |
int |
getEventsList()
public List<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;
Type | Description |
List<Any> |
getEventsOrBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
AnyOrBuilder |
getEventsOrBuilderList()
public List<? extends 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;
Type | Description |
List<? extends com.google.protobuf.AnyOrBuilder> |
getTextEvents(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The textEvents at the given index. |
getTextEventsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the textEvents at the given index. |
getTextEventsCount()
public 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;
Type | Description |
int | The count of textEvents. |
getTextEventsList()
public 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;
Type | Description |
ProtocolStringList | A list containing the textEvents. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PublishChannelConnectionEventsRequest other)
public PublishChannelConnectionEventsRequest.Builder mergeFrom(PublishChannelConnectionEventsRequest other)
Name | Description |
other | PublishChannelConnectionEventsRequest |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublishChannelConnectionEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PublishChannelConnectionEventsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PublishChannelConnectionEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
removeEvents(int index)
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;
Name | Description |
index | int |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
setChannelConnection(String value)
public 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;
Name | Description |
value | String The channelConnection to set. |
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
setChannelConnectionBytes(ByteString value)
public PublishChannelConnectionEventsRequest.Builder setChannelConnectionBytes(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;
Name | Description |
value | ByteString The bytes for channelConnection to set. |
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
setEvents(int index, Any value)
public PublishChannelConnectionEventsRequest.Builder setEvents(int index, 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;
Name | Description |
index | int |
value | Any |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
setEvents(int index, Any.Builder builderForValue)
public PublishChannelConnectionEventsRequest.Builder setEvents(int index, 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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PublishChannelConnectionEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PublishChannelConnectionEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |
setTextEvents(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The textEvents to set. |
Type | Description |
PublishChannelConnectionEventsRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PublishChannelConnectionEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PublishChannelConnectionEventsRequest.Builder |