public static final class DiskDataSourceProperties.Builder extends GeneratedMessageV3.Builder<DiskDataSourceProperties.Builder> implements DiskDataSourcePropertiesOrBuilderDiskDataSourceProperties represents the properties of a Disk resource that are stored in the DataSource. .
Protobuf type google.cloud.backupdr.v1.DiskDataSourceProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiskDataSourceProperties.BuilderImplements
DiskDataSourcePropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiskDataSourceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
build()
public DiskDataSourceProperties build()| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties |
|
buildPartial()
public DiskDataSourceProperties buildPartial()| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties |
|
clear()
public DiskDataSourceProperties.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
clearDescription()
public DiskDataSourceProperties.Builder clearDescription()The description of the disk.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DiskDataSourceProperties.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
clearName()
public DiskDataSourceProperties.Builder clearName()Name of the disk backed up by the datasource.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskDataSourceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
clearSizeGb()
public DiskDataSourceProperties.Builder clearSizeGb()The size of the disk in GB.
int64 size_gb = 4;
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
clearType()
public DiskDataSourceProperties.Builder clearType()The type of the disk.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
clone()
public DiskDataSourceProperties.Builder clone()| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
getDefaultInstanceForType()
public DiskDataSourceProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties |
|
getDescription()
public String getDescription()The description of the disk.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()The description of the disk.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Name of the disk backed up by the datasource.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Name of the disk backed up by the datasource.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSizeGb()
public long getSizeGb()The size of the disk in GB.
int64 size_gb = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The sizeGb. |
getType()
public String getType()The type of the disk.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()The type of the disk.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DiskDataSourceProperties other)
public DiskDataSourceProperties.Builder mergeFrom(DiskDataSourceProperties other)| Parameter | |
|---|---|
| Name | Description |
other |
DiskDataSourceProperties |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiskDataSourceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiskDataSourceProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskDataSourceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
setDescription(String value)
public DiskDataSourceProperties.Builder setDescription(String value)The description of the disk.
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DiskDataSourceProperties.Builder setDescriptionBytes(ByteString value)The description of the disk.
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DiskDataSourceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
setName(String value)
public DiskDataSourceProperties.Builder setName(String value)Name of the disk backed up by the datasource.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DiskDataSourceProperties.Builder setNameBytes(ByteString value)Name of the disk backed up by the datasource.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskDataSourceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|
setSizeGb(long value)
public DiskDataSourceProperties.Builder setSizeGb(long value)The size of the disk in GB.
int64 size_gb = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
setType(String value)
public DiskDataSourceProperties.Builder setType(String value)The type of the disk.
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public DiskDataSourceProperties.Builder setTypeBytes(ByteString value)The type of the disk.
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskDataSourceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties.Builder |
|