Class ApiVersionEventData.Builder (0.16.0)

public static final class ApiVersionEventData.Builder extends GeneratedMessageV3.Builder<ApiVersionEventData.Builder> implements ApiVersionEventDataOrBuilder

The data within all ApiVersion events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApiVersionEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApiVersionEventData.Builder
Overrides

build()

public ApiVersionEventData build()
Returns
Type Description
ApiVersionEventData

buildPartial()

public ApiVersionEventData buildPartial()
Returns
Type Description
ApiVersionEventData

clear()

public ApiVersionEventData.Builder clear()
Returns
Type Description
ApiVersionEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ApiVersionEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ApiVersionEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApiVersionEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ApiVersionEventData.Builder
Overrides

clearPayload()

public ApiVersionEventData.Builder clearPayload()

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

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

Returns
Type Description
ApiVersionEventData.Builder

clone()

public ApiVersionEventData.Builder clone()
Returns
Type Description
ApiVersionEventData.Builder
Overrides

getDefaultInstanceForType()

public ApiVersionEventData getDefaultInstanceForType()
Returns
Type Description
ApiVersionEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getPayloadBuilder()

public ApiVersion.Builder getPayloadBuilder()

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

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

Returns
Type Description
ApiVersion.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApiVersionEventData other)

public ApiVersionEventData.Builder mergeFrom(ApiVersionEventData other)
Parameter
Name Description
other ApiVersionEventData
Returns
Type Description
ApiVersionEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApiVersionEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiVersionEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ApiVersionEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApiVersionEventData.Builder
Overrides

mergePayload(ApiVersion value)

public ApiVersionEventData.Builder mergePayload(ApiVersion value)

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

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

Parameter
Name Description
value ApiVersion
Returns
Type Description
ApiVersionEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApiVersionEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApiVersionEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ApiVersionEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApiVersionEventData.Builder
Overrides

setPayload(ApiVersion value)

public ApiVersionEventData.Builder setPayload(ApiVersion value)

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

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

Parameter
Name Description
value ApiVersion
Returns
Type Description
ApiVersionEventData.Builder

setPayload(ApiVersion.Builder builderForValue)

public ApiVersionEventData.Builder setPayload(ApiVersion.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ApiVersion.Builder
Returns
Type Description
ApiVersionEventData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ApiVersionEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ApiVersionEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApiVersionEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApiVersionEventData.Builder
Overrides