public static final class BackupEventData.Builder extends GeneratedMessageV3.Builder<BackupEventData.Builder> implements BackupEventDataOrBuilder
The data within all Backup events.
Protobuf type google.events.cloud.gkebackup.v1.BackupEventData
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BackupEventData build()
buildPartial()
public BackupEventData buildPartial()
clear()
public BackupEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BackupEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public BackupEventData.Builder clearPayload()
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
clone()
public BackupEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public BackupEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPayload()
public Backup getPayload()
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
Returns |
Type |
Description |
Backup |
The payload.
|
getPayloadBuilder()
public Backup.Builder getPayloadBuilder()
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
getPayloadOrBuilder()
public BackupOrBuilder getPayloadOrBuilder()
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
hasPayload()
public boolean hasPayload()
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
Returns |
Type |
Description |
boolean |
Whether the payload field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BackupEventData other)
public BackupEventData.Builder mergeFrom(BackupEventData other)
public BackupEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BackupEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePayload(Backup value)
public BackupEventData.Builder mergePayload(Backup value)
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
Parameter |
Name |
Description |
value |
Backup
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BackupEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPayload(Backup value)
public BackupEventData.Builder setPayload(Backup value)
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
Parameter |
Name |
Description |
value |
Backup
|
setPayload(Backup.Builder builderForValue)
public BackupEventData.Builder setPayload(Backup.Builder builderForValue)
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides