Class BackupEventData.Builder (0.16.0)

public static final class BackupEventData.Builder extends GeneratedMessageV3.Builder<BackupEventData.Builder> implements BackupEventDataOrBuilder

The data within all Backup events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackupEventData build()
Returns
Type Description
BackupEventData

buildPartial()

public BackupEventData buildPartial()
Returns
Type Description
BackupEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public BackupEventData.Builder clearPayload()

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

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

Returns
Type Description
BackupEventData.Builder

clone()

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

getDefaultInstanceForType()

public BackupEventData getDefaultInstanceForType()
Returns
Type Description
BackupEventData

getDescriptorForType()

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

getPayload()

public Backup getPayload()

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

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

Returns
Type Description
Backup

The payload.

getPayloadBuilder()

public Backup.Builder getPayloadBuilder()

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

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

Returns
Type Description
Backup.Builder

getPayloadOrBuilder()

public BackupOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
BackupOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Backup value)

public BackupEventData.Builder mergePayload(Backup value)

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

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

Parameter
Name Description
value Backup
Returns
Type Description
BackupEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Backup value)

public BackupEventData.Builder setPayload(Backup value)

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

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

Parameter
Name Description
value Backup
Returns
Type Description
BackupEventData.Builder

setPayload(Backup.Builder builderForValue)

public BackupEventData.Builder setPayload(Backup.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Backup.Builder
Returns
Type Description
BackupEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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