Class HubEventData (0.14.1)

public final class HubEventData extends GeneratedMessageV3 implements HubEventDataOrBuilder

The data within all Hub events.

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

Static Fields

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HubEventData getDefaultInstance()
Returns
TypeDescription
HubEventData

getDescriptor()

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

newBuilder()

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

newBuilder(HubEventData prototype)

public static HubEventData.Builder newBuilder(HubEventData prototype)
Parameter
NameDescription
prototypeHubEventData
Returns
TypeDescription
HubEventData.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public HubEventData getDefaultInstanceForType()
Returns
TypeDescription
HubEventData

getParserForType()

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

getPayload()

public Hub getPayload()

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

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

Returns
TypeDescription
Hub

The payload.

getPayloadOrBuilder()

public HubOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
HubOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPayload()

public boolean hasPayload()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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