public static final class AutonomousDatabaseBackup.Builder extends GeneratedMessageV3.Builder<AutonomousDatabaseBackup.Builder> implements AutonomousDatabaseBackupOrBuilder
Details of the Autonomous Database Backup resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/
Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseBackup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutonomousDatabaseBackup.BuilderImplements
AutonomousDatabaseBackupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutonomousDatabaseBackup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
build()
public AutonomousDatabaseBackup build()
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup |
buildPartial()
public AutonomousDatabaseBackup buildPartial()
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup |
clear()
public AutonomousDatabaseBackup.Builder clear()
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
clearAutonomousDatabase()
public AutonomousDatabaseBackup.Builder clearAutonomousDatabase()
Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
string autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
clearDisplayName()
public AutonomousDatabaseBackup.Builder clearDisplayName()
Optional. User friendly name for the Backup. The name does not have to be unique.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AutonomousDatabaseBackup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
clearLabels()
public AutonomousDatabaseBackup.Builder clearLabels()
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
clearName()
public AutonomousDatabaseBackup.Builder clearName()
Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutonomousDatabaseBackup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
clearProperties()
public AutonomousDatabaseBackup.Builder clearProperties()
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
clone()
public AutonomousDatabaseBackup.Builder clone()
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAutonomousDatabase()
public String getAutonomousDatabase()
Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
string autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The autonomousDatabase. |
getAutonomousDatabaseBytes()
public ByteString getAutonomousDatabaseBytes()
Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
string autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for autonomousDatabase. |
getDefaultInstanceForType()
public AutonomousDatabaseBackup getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. User friendly name for the Backup. The name does not have to be unique.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. User friendly name for the Backup. The name does not have to be unique.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getProperties()
public AutonomousDatabaseBackupProperties getProperties()
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackupProperties |
The properties. |
getPropertiesBuilder()
public AutonomousDatabaseBackupProperties.Builder getPropertiesBuilder()
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackupProperties.Builder |
getPropertiesOrBuilder()
public AutonomousDatabaseBackupPropertiesOrBuilder getPropertiesOrBuilder()
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackupPropertiesOrBuilder |
hasProperties()
public boolean hasProperties()
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the properties field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AutonomousDatabaseBackup other)
public AutonomousDatabaseBackup.Builder mergeFrom(AutonomousDatabaseBackup other)
Parameter | |
---|---|
Name | Description |
other |
AutonomousDatabaseBackup |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutonomousDatabaseBackup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutonomousDatabaseBackup.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
mergeProperties(AutonomousDatabaseBackupProperties value)
public AutonomousDatabaseBackup.Builder mergeProperties(AutonomousDatabaseBackupProperties value)
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutonomousDatabaseBackupProperties |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutonomousDatabaseBackup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
putAllLabels(Map<String,String> values)
public AutonomousDatabaseBackup.Builder putAllLabels(Map<String,String> values)
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
putLabels(String key, String value)
public AutonomousDatabaseBackup.Builder putLabels(String key, String value)
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
removeLabels(String key)
public AutonomousDatabaseBackup.Builder removeLabels(String key)
Optional. labels or tags associated with the resource.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
setAutonomousDatabase(String value)
public AutonomousDatabaseBackup.Builder setAutonomousDatabase(String value)
Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
string autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The autonomousDatabase to set. |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
setAutonomousDatabaseBytes(ByteString value)
public AutonomousDatabaseBackup.Builder setAutonomousDatabaseBytes(ByteString value)
Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
string autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for autonomousDatabase to set. |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
setDisplayName(String value)
public AutonomousDatabaseBackup.Builder setDisplayName(String value)
Optional. User friendly name for the Backup. The name does not have to be unique.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AutonomousDatabaseBackup.Builder setDisplayNameBytes(ByteString value)
Optional. User friendly name for the Backup. The name does not have to be unique.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AutonomousDatabaseBackup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
setName(String value)
public AutonomousDatabaseBackup.Builder setName(String value)
Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AutonomousDatabaseBackup.Builder setNameBytes(ByteString value)
Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
This builder for chaining. |
setProperties(AutonomousDatabaseBackupProperties value)
public AutonomousDatabaseBackup.Builder setProperties(AutonomousDatabaseBackupProperties value)
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutonomousDatabaseBackupProperties |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
setProperties(AutonomousDatabaseBackupProperties.Builder builderForValue)
public AutonomousDatabaseBackup.Builder setProperties(AutonomousDatabaseBackupProperties.Builder builderForValue)
Optional. Various properties of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
AutonomousDatabaseBackupProperties.Builder |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutonomousDatabaseBackup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutonomousDatabaseBackup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutonomousDatabaseBackup.Builder |