Class ApiVersionEventData (0.15.0)

public final class ApiVersionEventData extends GeneratedMessageV3 implements ApiVersionEventDataOrBuilder

The data within all ApiVersion events.

Protobuf type google.events.cloud.apigeeregistry.v1.ApiVersionEventData

Static Fields

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApiVersionEventData getDefaultInstance()
Returns
Type Description
ApiVersionEventData

getDescriptor()

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

newBuilder()

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

newBuilder(ApiVersionEventData prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ApiVersionEventData getDefaultInstanceForType()
Returns
Type Description
ApiVersionEventData

getParserForType()

public Parser<ApiVersionEventData> getParserForType()
Returns
Type Description
Parser<ApiVersionEventData>
Overrides

getPayload()

public ApiVersion getPayload()

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

optional .google.events.cloud.apigeeregistry.v1.ApiVersion payload = 1;

Returns
Type Description
ApiVersion

The payload.

getPayloadOrBuilder()

public ApiVersionOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.apigeeregistry.v1.ApiVersion payload = 1;

Returns
Type Description
ApiVersionOrBuilder

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 ApiVersion event payload. Unset for deletion events.

optional .google.events.cloud.apigeeregistry.v1.ApiVersion 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 ApiVersionEventData.Builder newBuilderForType()
Returns
Type Description
ApiVersionEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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