Class BackupPlanEventData.Builder (0.15.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackupPlanEventData build()
Returns
Type Description
BackupPlanEventData

buildPartial()

public BackupPlanEventData buildPartial()
Returns
Type Description
BackupPlanEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BackupPlanEventData getDefaultInstanceForType()
Returns
Type Description
BackupPlanEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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