Class RestorePlanEventData.Builder (0.16.0)

public static final class RestorePlanEventData.Builder extends GeneratedMessageV3.Builder<RestorePlanEventData.Builder> implements RestorePlanEventDataOrBuilder

The data within all RestorePlan events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestorePlanEventData build()
Returns
Type Description
RestorePlanEventData

buildPartial()

public RestorePlanEventData buildPartial()
Returns
Type Description
RestorePlanEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public RestorePlanEventData.Builder clearPayload()

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

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

Returns
Type Description
RestorePlanEventData.Builder

clone()

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

getDefaultInstanceForType()

public RestorePlanEventData getDefaultInstanceForType()
Returns
Type Description
RestorePlanEventData

getDescriptorForType()

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

getPayload()

public RestorePlan getPayload()

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

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

Returns
Type Description
RestorePlan

The payload.

getPayloadBuilder()

public RestorePlan.Builder getPayloadBuilder()

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

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

Returns
Type Description
RestorePlan.Builder

getPayloadOrBuilder()

public RestorePlanOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
RestorePlanOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(RestorePlan value)

public RestorePlanEventData.Builder mergePayload(RestorePlan value)

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

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

Parameter
Name Description
value RestorePlan
Returns
Type Description
RestorePlanEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(RestorePlan value)

public RestorePlanEventData.Builder setPayload(RestorePlan value)

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

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

Parameter
Name Description
value RestorePlan
Returns
Type Description
RestorePlanEventData.Builder

setPayload(RestorePlan.Builder builderForValue)

public RestorePlanEventData.Builder setPayload(RestorePlan.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue RestorePlan.Builder
Returns
Type Description
RestorePlanEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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