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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupEventData.BuilderImplements
BackupEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
build()
public BackupEventData build()
Returns | |
---|---|
Type | Description |
BackupEventData |
buildPartial()
public BackupEventData buildPartial()
Returns | |
---|---|
Type | Description |
BackupEventData |
clear()
public BackupEventData.Builder clear()
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public BackupEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
clearPayload()
public BackupEventData.Builder clearPayload()
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
clone()
public BackupEventData.Builder clone()
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
getDefaultInstanceForType()
public BackupEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BackupEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
Backup.Builder |
getPayloadOrBuilder()
public BackupOrBuilder getPayloadOrBuilder()
Optional. The Backup event payload. Unset for deletion events.
optional .google.events.cloud.gkebackup.v1.Backup payload = 1;
Returns | |
---|---|
Type | Description |
BackupOrBuilder |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BackupEventData other)
public BackupEventData.Builder mergeFrom(BackupEventData other)
Parameter | |
---|---|
Name | Description |
other | BackupEventData |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BackupEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
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 |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
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 |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Backup.Builder |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupEventData.Builder |