public final class PublishChannelConnectionEventsRequest extends GeneratedMessageV3 implements PublishChannelConnectionEventsRequestOrBuilder
The request message for the PublishChannelConnectionEvents method.
Protobuf type google.cloud.eventarc.publishing.v1.PublishChannelConnectionEventsRequest
Static Fields
CHANNEL_CONNECTION_FIELD_NUMBER
public static final int CHANNEL_CONNECTION_FIELD_NUMBER
Field Value
EVENTS_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PublishChannelConnectionEventsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PublishChannelConnectionEventsRequest.Builder newBuilder()
Returns
newBuilder(PublishChannelConnectionEventsRequest prototype)
public static PublishChannelConnectionEventsRequest.Builder newBuilder(PublishChannelConnectionEventsRequest prototype)
Parameter
Returns
public static PublishChannelConnectionEventsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PublishChannelConnectionEventsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PublishChannelConnectionEventsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublishChannelConnectionEventsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PublishChannelConnectionEventsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublishChannelConnectionEventsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PublishChannelConnectionEventsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PublishChannelConnectionEventsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PublishChannelConnectionEventsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PublishChannelConnectionEventsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PublishChannelConnectionEventsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PublishChannelConnectionEventsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PublishChannelConnectionEventsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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;
Returns
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;
Returns
Type | Description |
ByteString | The bytes for channelConnection.
|
getDefaultInstanceForType()
public PublishChannelConnectionEventsRequest getDefaultInstanceForType()
Returns
getEvents(int index)
public Any getEvents(int index)
The CloudEvents v1.0 events to publish. No other types are allowed.
repeated .google.protobuf.Any events = 2;
Parameter
Returns
getEventsCount()
public int getEventsCount()
The CloudEvents v1.0 events to publish. No other types are allowed.
repeated .google.protobuf.Any events = 2;
Returns
getEventsList()
public List<Any> getEventsList()
The CloudEvents v1.0 events to publish. No other types are allowed.
repeated .google.protobuf.Any events = 2;
Returns
getEventsOrBuilder(int index)
public AnyOrBuilder getEventsOrBuilder(int index)
The CloudEvents v1.0 events to publish. No other types are allowed.
repeated .google.protobuf.Any events = 2;
Parameter
Returns
getEventsOrBuilderList()
public List<? extends AnyOrBuilder> getEventsOrBuilderList()
The CloudEvents v1.0 events to publish. No other types are allowed.
repeated .google.protobuf.Any events = 2;
Returns
Type | Description |
List<? extends com.google.protobuf.AnyOrBuilder> | |
getParserForType()
public Parser<PublishChannelConnectionEventsRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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 PublishChannelConnectionEventsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PublishChannelConnectionEventsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PublishChannelConnectionEventsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions