public static final class BackupPlanEventData.Builder extends GeneratedMessageV3.Builder<BackupPlanEventData.Builder> implements BackupPlanEventDataOrBuilder
The data within all BackupPlan events.
Protobuf type google.events.cloud.gkebackup.v1.BackupPlanEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupPlanEventData.BuilderImplements
BackupPlanEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupPlanEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
build()
public BackupPlanEventData build()
Returns | |
---|---|
Type | Description |
BackupPlanEventData |
buildPartial()
public BackupPlanEventData buildPartial()
Returns | |
---|---|
Type | Description |
BackupPlanEventData |
clear()
public BackupPlanEventData.Builder clear()
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public BackupPlanEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupPlanEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
clearPayload()
public BackupPlanEventData.Builder clearPayload()
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan payload = 1;
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
clone()
public BackupPlanEventData.Builder clone()
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
getDefaultInstanceForType()
public BackupPlanEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BackupPlanEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public BackupPlan getPayload()
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan payload = 1;
Returns | |
---|---|
Type | Description |
BackupPlan | The payload. |
getPayloadBuilder()
public BackupPlan.Builder getPayloadBuilder()
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan payload = 1;
Returns | |
---|---|
Type | Description |
BackupPlan.Builder |
getPayloadOrBuilder()
public BackupPlanOrBuilder getPayloadOrBuilder()
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan payload = 1;
Returns | |
---|---|
Type | Description |
BackupPlanOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan 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(BackupPlanEventData other)
public BackupPlanEventData.Builder mergeFrom(BackupPlanEventData other)
Parameter | |
---|---|
Name | Description |
other | BackupPlanEventData |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupPlanEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BackupPlanEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
mergePayload(BackupPlan value)
public BackupPlanEventData.Builder mergePayload(BackupPlan value)
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan payload = 1;
Parameter | |
---|---|
Name | Description |
value | BackupPlan |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlanEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupPlanEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
setPayload(BackupPlan value)
public BackupPlanEventData.Builder setPayload(BackupPlan value)
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan payload = 1;
Parameter | |
---|---|
Name | Description |
value | BackupPlan |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
setPayload(BackupPlan.Builder builderForValue)
public BackupPlanEventData.Builder setPayload(BackupPlan.Builder builderForValue)
Optional. The BackupPlan event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.BackupPlan payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | BackupPlan.Builder |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupPlanEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlanEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupPlanEventData.Builder |