Class ServiceEventData.Builder (0.15.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceEventData build()
Returns
Type Description
ServiceEventData

buildPartial()

public ServiceEventData buildPartial()
Returns
Type Description
ServiceEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ServiceEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceEventData getDefaultInstanceForType()
Returns
Type Description
ServiceEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ServiceEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Service
Returns
Type Description
ServiceEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Service
Returns
Type Description
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
Name Description
builderForValue Service.Builder
Returns
Type Description
ServiceEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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