Class ServiceConnectionTokenEventData (0.16.0)

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
Type Description
int

Static Methods

getDefaultInstance()

public static ServiceConnectionTokenEventData getDefaultInstance()
Returns
Type Description
ServiceConnectionTokenEventData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ServiceConnectionTokenEventData.Builder newBuilder()
Returns
Type Description
ServiceConnectionTokenEventData.Builder

newBuilder(ServiceConnectionTokenEventData prototype)

public static ServiceConnectionTokenEventData.Builder newBuilder(ServiceConnectionTokenEventData prototype)
Parameter
Name Description
prototype ServiceConnectionTokenEventData
Returns
Type Description
ServiceConnectionTokenEventData.Builder

parseDelimitedFrom(InputStream input)

public static ServiceConnectionTokenEventData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionTokenEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ServiceConnectionTokenEventData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionTokenEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceConnectionTokenEventData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionTokenEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceConnectionTokenEventData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionTokenEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ServiceConnectionTokenEventData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionTokenEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ServiceConnectionTokenEventData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceConnectionTokenEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionTokenEventData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ServiceConnectionTokenEventData> parser()
Returns
Type Description
Parser<ServiceConnectionTokenEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ServiceConnectionTokenEventData getDefaultInstanceForType()
Returns
Type Description
ServiceConnectionTokenEventData

getParserForType()

public Parser<ServiceConnectionTokenEventData> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ServiceConnectionTokenOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
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
Type Description
boolean

Whether the payload field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ServiceConnectionTokenEventData.Builder newBuilderForType()
Returns
Type Description
ServiceConnectionTokenEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceConnectionTokenEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ServiceConnectionTokenEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ServiceConnectionTokenEventData.Builder toBuilder()
Returns
Type Description
ServiceConnectionTokenEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException