public static final class InitiateBackupResponse.Builder extends GeneratedMessageV3.Builder<InitiateBackupResponse.Builder> implements InitiateBackupResponseOrBuilder
Response message for InitiateBackup.
Protobuf type google.cloud.backupdr.v1.InitiateBackupResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InitiateBackupResponse.BuilderImplements
InitiateBackupResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitiateBackupResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
build()
public InitiateBackupResponse build()
Returns | |
---|---|
Type | Description |
InitiateBackupResponse |
buildPartial()
public InitiateBackupResponse buildPartial()
Returns | |
---|---|
Type | Description |
InitiateBackupResponse |
clear()
public InitiateBackupResponse.Builder clear()
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
clearBackup()
public InitiateBackupResponse.Builder clearBackup()
The name of the backup that was created.
string backup = 1;
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
This builder for chaining. |
clearBaseBackupGenerationId()
public InitiateBackupResponse.Builder clearBaseBackupGenerationId()
The generation id of the base backup. It is needed for the incremental backups.
int32 base_backup_generation_id = 3;
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InitiateBackupResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
clearNewBackupGenerationId()
public InitiateBackupResponse.Builder clearNewBackupGenerationId()
The generation id of the new backup.
int32 new_backup_generation_id = 2;
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InitiateBackupResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
clone()
public InitiateBackupResponse.Builder clone()
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
getBackup()
public String getBackup()
The name of the backup that was created.
string backup = 1;
Returns | |
---|---|
Type | Description |
String |
The backup. |
getBackupBytes()
public ByteString getBackupBytes()
The name of the backup that was created.
string backup = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for backup. |
getBaseBackupGenerationId()
public int getBaseBackupGenerationId()
The generation id of the base backup. It is needed for the incremental backups.
int32 base_backup_generation_id = 3;
Returns | |
---|---|
Type | Description |
int |
The baseBackupGenerationId. |
getDefaultInstanceForType()
public InitiateBackupResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InitiateBackupResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNewBackupGenerationId()
public int getNewBackupGenerationId()
The generation id of the new backup.
int32 new_backup_generation_id = 2;
Returns | |
---|---|
Type | Description |
int |
The newBackupGenerationId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InitiateBackupResponse other)
public InitiateBackupResponse.Builder mergeFrom(InitiateBackupResponse other)
Parameter | |
---|---|
Name | Description |
other |
InitiateBackupResponse |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InitiateBackupResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InitiateBackupResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitiateBackupResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
setBackup(String value)
public InitiateBackupResponse.Builder setBackup(String value)
The name of the backup that was created.
string backup = 1;
Parameter | |
---|---|
Name | Description |
value |
String The backup to set. |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
This builder for chaining. |
setBackupBytes(ByteString value)
public InitiateBackupResponse.Builder setBackupBytes(ByteString value)
The name of the backup that was created.
string backup = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backup to set. |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
This builder for chaining. |
setBaseBackupGenerationId(int value)
public InitiateBackupResponse.Builder setBaseBackupGenerationId(int value)
The generation id of the base backup. It is needed for the incremental backups.
int32 base_backup_generation_id = 3;
Parameter | |
---|---|
Name | Description |
value |
int The baseBackupGenerationId to set. |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InitiateBackupResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
setNewBackupGenerationId(int value)
public InitiateBackupResponse.Builder setNewBackupGenerationId(int value)
The generation id of the new backup.
int32 new_backup_generation_id = 2;
Parameter | |
---|---|
Name | Description |
value |
int The newBackupGenerationId to set. |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitiateBackupResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InitiateBackupResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InitiateBackupResponse.Builder |