Class RestorePlanEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestorePlanEventData build()
Returns
TypeDescription
RestorePlanEventData

buildPartial()

public RestorePlanEventData buildPartial()
Returns
TypeDescription
RestorePlanEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RestorePlanEventData getDefaultInstanceForType()
Returns
TypeDescription
RestorePlanEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public RestorePlanEventData.Builder mergeFrom(RestorePlanEventData other)
Parameter
NameDescription
otherRestorePlanEventData
Returns
TypeDescription
RestorePlanEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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