Class BackupEventData.Builder (0.14.1)

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

The data within all Backup events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackupEventData build()
Returns
TypeDescription
BackupEventData

buildPartial()

public BackupEventData buildPartial()
Returns
TypeDescription
BackupEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public BackupEventData.Builder clearPayload()

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

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

Returns
TypeDescription
BackupEventData.Builder

clone()

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

getDefaultInstanceForType()

public BackupEventData getDefaultInstanceForType()
Returns
TypeDescription
BackupEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Backup getPayload()

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

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

Returns
TypeDescription
Backup

The payload.

getPayloadBuilder()

public Backup.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
Backup.Builder

getPayloadOrBuilder()

public BackupOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
BackupOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public BackupEventData.Builder mergeFrom(BackupEventData other)
Parameter
NameDescription
otherBackupEventData
Returns
TypeDescription
BackupEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BackupEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.gkebackup.v1.Backup payload = 1;

Parameter
NameDescription
valueBackup
Returns
TypeDescription
BackupEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BackupEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.gkebackup.v1.Backup payload = 1;

Parameter
NameDescription
valueBackup
Returns
TypeDescription
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.gkebackup.v1.Backup payload = 1;

Parameter
NameDescription
builderForValueBackup.Builder
Returns
TypeDescription
BackupEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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