Class PrivateConnectionEventData (0.14.1)

public final class PrivateConnectionEventData extends GeneratedMessageV3 implements PrivateConnectionEventDataOrBuilder

The data within all PrivateConnection events.

Protobuf type google.events.cloud.datastream.v1.PrivateConnectionEventData

Static Fields

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivateConnectionEventData getDefaultInstance()
Returns
TypeDescription
PrivateConnectionEventData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PrivateConnectionEventData.Builder newBuilder()
Returns
TypeDescription
PrivateConnectionEventData.Builder

newBuilder(PrivateConnectionEventData prototype)

public static PrivateConnectionEventData.Builder newBuilder(PrivateConnectionEventData prototype)
Parameter
NameDescription
prototypePrivateConnectionEventData
Returns
TypeDescription
PrivateConnectionEventData.Builder

parseDelimitedFrom(InputStream input)

public static PrivateConnectionEventData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateConnectionEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivateConnectionEventData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivateConnectionEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivateConnectionEventData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivateConnectionEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivateConnectionEventData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateConnectionEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivateConnectionEventData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateConnectionEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivateConnectionEventData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivateConnectionEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateConnectionEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PrivateConnectionEventData> parser()
Returns
TypeDescription
Parser<PrivateConnectionEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PrivateConnectionEventData getDefaultInstanceForType()
Returns
TypeDescription
PrivateConnectionEventData

getParserForType()

public Parser<PrivateConnectionEventData> getParserForType()
Returns
TypeDescription
Parser<PrivateConnectionEventData>
Overrides

getPayload()

public PrivateConnection getPayload()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Returns
TypeDescription
PrivateConnection

The payload.

getPayloadOrBuilder()

public PrivateConnectionOrBuilder getPayloadOrBuilder()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Returns
TypeDescription
PrivateConnectionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPayload()

public boolean hasPayload()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Returns
TypeDescription
boolean

Whether the payload field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PrivateConnectionEventData.Builder newBuilderForType()
Returns
TypeDescription
PrivateConnectionEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivateConnectionEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivateConnectionEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PrivateConnectionEventData.Builder toBuilder()
Returns
TypeDescription
PrivateConnectionEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException