Class ServiceEventData.Builder (0.14.1)

public static final class ServiceEventData.Builder extends GeneratedMessageV3.Builder<ServiceEventData.Builder> implements ServiceEventDataOrBuilder

The data within all Service events.

Protobuf type google.events.cloud.metastore.v1.ServiceEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceEventData build()
Returns
TypeDescription
ServiceEventData

buildPartial()

public ServiceEventData buildPartial()
Returns
TypeDescription
ServiceEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ServiceEventData.Builder
Overrides

clearPayload()

public ServiceEventData.Builder clearPayload()

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

optional .google.events.cloud.metastore.v1.Service payload = 1;

Returns
TypeDescription
ServiceEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceEventData getDefaultInstanceForType()
Returns
TypeDescription
ServiceEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Service getPayload()

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

optional .google.events.cloud.metastore.v1.Service payload = 1;

Returns
TypeDescription
Service

The payload.

getPayloadBuilder()

public Service.Builder getPayloadBuilder()

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

optional .google.events.cloud.metastore.v1.Service payload = 1;

Returns
TypeDescription
Service.Builder

getPayloadOrBuilder()

public ServiceOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.metastore.v1.Service payload = 1;

Returns
TypeDescription
ServiceOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.metastore.v1.Service 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(ServiceEventData other)

public ServiceEventData.Builder mergeFrom(ServiceEventData other)
Parameter
NameDescription
otherServiceEventData
Returns
TypeDescription
ServiceEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ServiceEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServiceEventData.Builder
Overrides

mergePayload(Service value)

public ServiceEventData.Builder mergePayload(Service value)

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

optional .google.events.cloud.metastore.v1.Service payload = 1;

Parameter
NameDescription
valueService
Returns
TypeDescription
ServiceEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Service value)

public ServiceEventData.Builder setPayload(Service value)

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

optional .google.events.cloud.metastore.v1.Service payload = 1;

Parameter
NameDescription
valueService
Returns
TypeDescription
ServiceEventData.Builder

setPayload(Service.Builder builderForValue)

public ServiceEventData.Builder setPayload(Service.Builder builderForValue)

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

optional .google.events.cloud.metastore.v1.Service payload = 1;

Parameter
NameDescription
builderForValueService.Builder
Returns
TypeDescription
ServiceEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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