Class RestoreEventData.Builder (0.16.0)

public static final class RestoreEventData.Builder extends GeneratedMessageV3.Builder<RestoreEventData.Builder> implements RestoreEventDataOrBuilder

The data within all Restore events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestoreEventData build()
Returns
Type Description
RestoreEventData

buildPartial()

public RestoreEventData buildPartial()
Returns
Type Description
RestoreEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public RestoreEventData.Builder clearPayload()

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

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

Returns
Type Description
RestoreEventData.Builder

clone()

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

getDefaultInstanceForType()

public RestoreEventData getDefaultInstanceForType()
Returns
Type Description
RestoreEventData

getDescriptorForType()

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

getPayload()

public Restore getPayload()

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

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

Returns
Type Description
Restore

The payload.

getPayloadBuilder()

public Restore.Builder getPayloadBuilder()

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

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

Returns
Type Description
Restore.Builder

getPayloadOrBuilder()

public RestoreOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
RestoreOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Restore value)

public RestoreEventData.Builder mergePayload(Restore value)

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

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

Parameter
Name Description
value Restore
Returns
Type Description
RestoreEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Restore value)

public RestoreEventData.Builder setPayload(Restore value)

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

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

Parameter
Name Description
value Restore
Returns
Type Description
RestoreEventData.Builder

setPayload(Restore.Builder builderForValue)

public RestoreEventData.Builder setPayload(Restore.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Restore.Builder
Returns
Type Description
RestoreEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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