Class RestoreEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestoreEventData build()
Returns
TypeDescription
RestoreEventData

buildPartial()

public RestoreEventData buildPartial()
Returns
TypeDescription
RestoreEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RestoreEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RestoreEventData.Builder

clone()

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

getDefaultInstanceForType()

public RestoreEventData getDefaultInstanceForType()
Returns
TypeDescription
RestoreEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RestoreOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public RestoreEventData.Builder mergeFrom(RestoreEventData other)
Parameter
NameDescription
otherRestoreEventData
Returns
TypeDescription
RestoreEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RestoreEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRestore
Returns
TypeDescription
RestoreEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public RestoreEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRestore
Returns
TypeDescription
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
NameDescription
builderForValueRestore.Builder
Returns
TypeDescription
RestoreEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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