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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestorePlanEventData.BuilderImplements
RestorePlanEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public RestorePlanEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RestorePlanEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestorePlanEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RestorePlanEventData.Builder |
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 |
getDefaultInstanceForType()
public RestorePlanEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RestorePlanEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RestorePlanEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RestorePlanEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestorePlanEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestorePlanEventData.Builder |