Class ApiSpecEventData.Builder (0.16.0)

public static final class ApiSpecEventData.Builder extends GeneratedMessageV3.Builder<ApiSpecEventData.Builder> implements ApiSpecEventDataOrBuilder

The data within all ApiSpec events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApiSpecEventData build()
Returns
Type Description
ApiSpecEventData

buildPartial()

public ApiSpecEventData buildPartial()
Returns
Type Description
ApiSpecEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ApiSpecEventData.Builder clearPayload()

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

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

Returns
Type Description
ApiSpecEventData.Builder

clone()

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

getDefaultInstanceForType()

public ApiSpecEventData getDefaultInstanceForType()
Returns
Type Description
ApiSpecEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPayload()

public ApiSpec getPayload()

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

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

Returns
Type Description
ApiSpec

The payload.

getPayloadBuilder()

public ApiSpec.Builder getPayloadBuilder()

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

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

Returns
Type Description
ApiSpec.Builder

getPayloadOrBuilder()

public ApiSpecOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
ApiSpecOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.apigeeregistry.v1.ApiSpec 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(ApiSpecEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ApiSpec value)

public ApiSpecEventData.Builder mergePayload(ApiSpec value)

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

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

Parameter
Name Description
value ApiSpec
Returns
Type Description
ApiSpecEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ApiSpec value)

public ApiSpecEventData.Builder setPayload(ApiSpec value)

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

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

Parameter
Name Description
value ApiSpec
Returns
Type Description
ApiSpecEventData.Builder

setPayload(ApiSpec.Builder builderForValue)

public ApiSpecEventData.Builder setPayload(ApiSpec.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ApiSpec.Builder
Returns
Type Description
ApiSpecEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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