Class ServiceConnectionTokenEventData (0.14.1)

public final class ServiceConnectionTokenEventData extends GeneratedMessageV3 implements ServiceConnectionTokenEventDataOrBuilder

The data within all ServiceConnectionToken events.

Protobuf type google.events.cloud.networkconnectivity.v1.ServiceConnectionTokenEventData

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ServiceConnectionTokenEventData

Static Fields

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceConnectionTokenEventData getDefaultInstance()
Returns
TypeDescription
ServiceConnectionTokenEventData

getDescriptor()

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

newBuilder()

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

newBuilder(ServiceConnectionTokenEventData prototype)

public static ServiceConnectionTokenEventData.Builder newBuilder(ServiceConnectionTokenEventData prototype)
Parameter
NameDescription
prototypeServiceConnectionTokenEventData
Returns
TypeDescription
ServiceConnectionTokenEventData.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ServiceConnectionTokenEventData getDefaultInstanceForType()
Returns
TypeDescription
ServiceConnectionTokenEventData

getParserForType()

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

getPayload()

public ServiceConnectionToken getPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionToken payload = 1;

Returns
TypeDescription
ServiceConnectionToken

The payload.

getPayloadOrBuilder()

public ServiceConnectionTokenOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionToken payload = 1;

Returns
TypeDescription
ServiceConnectionTokenOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionToken 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 ServiceConnectionTokenEventData.Builder newBuilderForType()
Returns
TypeDescription
ServiceConnectionTokenEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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