Class ApiSpecEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApiSpecEventData build()
Returns
TypeDescription
ApiSpecEventData

buildPartial()

public ApiSpecEventData buildPartial()
Returns
TypeDescription
ApiSpecEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ApiSpecEventData getDefaultInstanceForType()
Returns
TypeDescription
ApiSpecEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public ApiSpecEventData.Builder mergeFrom(ApiSpecEventData other)
Parameter
NameDescription
otherApiSpecEventData
Returns
TypeDescription
ApiSpecEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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