Class BackupPlanEventData.Builder (0.14.1)

public static final class BackupPlanEventData.Builder extends GeneratedMessageV3.Builder<BackupPlanEventData.Builder> implements BackupPlanEventDataOrBuilder

The data within all BackupPlan events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackupPlanEventData build()
Returns
TypeDescription
BackupPlanEventData

buildPartial()

public BackupPlanEventData buildPartial()
Returns
TypeDescription
BackupPlanEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public BackupPlanEventData.Builder clearPayload()

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

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

Returns
TypeDescription
BackupPlanEventData.Builder

clone()

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

getDefaultInstanceForType()

public BackupPlanEventData getDefaultInstanceForType()
Returns
TypeDescription
BackupPlanEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public BackupPlan getPayload()

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

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

Returns
TypeDescription
BackupPlan

The payload.

getPayloadBuilder()

public BackupPlan.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
BackupPlan.Builder

getPayloadOrBuilder()

public BackupPlanOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
BackupPlanOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public BackupPlanEventData.Builder mergeFrom(BackupPlanEventData other)
Parameter
NameDescription
otherBackupPlanEventData
Returns
TypeDescription
BackupPlanEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(BackupPlan value)

public BackupPlanEventData.Builder mergePayload(BackupPlan value)

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

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

Parameter
NameDescription
valueBackupPlan
Returns
TypeDescription
BackupPlanEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(BackupPlan value)

public BackupPlanEventData.Builder setPayload(BackupPlan value)

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

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

Parameter
NameDescription
valueBackupPlan
Returns
TypeDescription
BackupPlanEventData.Builder

setPayload(BackupPlan.Builder builderForValue)

public BackupPlanEventData.Builder setPayload(BackupPlan.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBackupPlan.Builder
Returns
TypeDescription
BackupPlanEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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