Class ApiVersionEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApiVersionEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides

build()

public ApiVersionEventData build()
Returns
TypeDescription
ApiVersionEventData

buildPartial()

public ApiVersionEventData buildPartial()
Returns
TypeDescription
ApiVersionEventData

clear()

public ApiVersionEventData.Builder clear()
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ApiVersionEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApiVersionEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ApiVersionEventData.Builder

clone()

public ApiVersionEventData.Builder clone()
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides

getDefaultInstanceForType()

public ApiVersionEventData getDefaultInstanceForType()
Returns
TypeDescription
ApiVersionEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ApiVersionEventData other)

public ApiVersionEventData.Builder mergeFrom(ApiVersionEventData other)
Parameter
NameDescription
otherApiVersionEventData
Returns
TypeDescription
ApiVersionEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApiVersionEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ApiVersionEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueApiVersion
Returns
TypeDescription
ApiVersionEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApiVersionEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ApiVersionEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueApiVersion
Returns
TypeDescription
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
NameDescription
builderForValueApiVersion.Builder
Returns
TypeDescription
ApiVersionEventData.Builder

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

public ApiVersionEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApiVersionEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApiVersionEventData.Builder
Overrides