Class ComputeInstanceDataSourceProperties.Builder (0.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass ComputeInstanceDataSourceProperties.BuilderextendsGeneratedMessageV3.Builder<ComputeInstanceDataSourceProperties.Builder>implementsComputeInstanceDataSourcePropertiesOrBuilderComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource.
Protobuf type google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeInstanceDataSourceProperties.BuilderImplements
ComputeInstanceDataSourcePropertiesOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicComputeInstanceDataSourceProperties.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
build()
publicComputeInstanceDataSourcePropertiesbuild()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties |
|
buildPartial()
publicComputeInstanceDataSourcePropertiesbuildPartial()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties |
|
clear()
publicComputeInstanceDataSourceProperties.Builderclear()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
clearDescription()
publicComputeInstanceDataSourceProperties.BuilderclearDescription()The description of the Compute Engine instance.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicComputeInstanceDataSourceProperties.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
clearMachineType()
publicComputeInstanceDataSourceProperties.BuilderclearMachineType()The machine type of the instance.
string machine_type = 3;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
clearName()
publicComputeInstanceDataSourceProperties.BuilderclearName()Name of the compute instance backed up by the datasource.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicComputeInstanceDataSourceProperties.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
clearTotalDiskCount()
publicComputeInstanceDataSourceProperties.BuilderclearTotalDiskCount()The total number of disks attached to the Instance.
int64 total_disk_count = 4;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
clearTotalDiskSizeGb()
publicComputeInstanceDataSourceProperties.BuilderclearTotalDiskSizeGb()The sum of all the disk sizes.
int64 total_disk_size_gb = 5;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
clone()
publicComputeInstanceDataSourceProperties.Builderclone()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
getDefaultInstanceForType()
publicComputeInstanceDataSourcePropertiesgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties |
|
getDescription()
publicStringgetDescription()The description of the Compute Engine instance.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
publicByteStringgetDescriptionBytes()The description of the Compute Engine instance.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMachineType()
publicStringgetMachineType()The machine type of the instance.
string machine_type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
publicByteStringgetMachineTypeBytes()The machine type of the instance.
string machine_type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |
getName()
publicStringgetName()Name of the compute instance backed up by the datasource.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes()Name of the compute instance backed up by the datasource.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTotalDiskCount()
publiclonggetTotalDiskCount()The total number of disks attached to the Instance.
int64 total_disk_count = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The totalDiskCount. |
getTotalDiskSizeGb()
publiclonggetTotalDiskSizeGb()The sum of all the disk sizes.
int64 total_disk_size_gb = 5;
| Returns | |
|---|---|
| Type | Description |
long |
The totalDiskSizeGb. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ComputeInstanceDataSourceProperties other)
publicComputeInstanceDataSourceProperties.BuildermergeFrom(ComputeInstanceDataSourcePropertiesother)| Parameter | |
|---|---|
| Name | Description |
other |
ComputeInstanceDataSourceProperties |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicComputeInstanceDataSourceProperties.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicComputeInstanceDataSourceProperties.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalComputeInstanceDataSourceProperties.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
setDescription(String value)
publicComputeInstanceDataSourceProperties.BuildersetDescription(Stringvalue)The description of the Compute Engine instance.
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The description to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
publicComputeInstanceDataSourceProperties.BuildersetDescriptionBytes(ByteStringvalue)The description of the Compute Engine instance.
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicComputeInstanceDataSourceProperties.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
setMachineType(String value)
publicComputeInstanceDataSourceProperties.BuildersetMachineType(Stringvalue)The machine type of the instance.
string machine_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The machineType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setMachineTypeBytes(ByteString value)
publicComputeInstanceDataSourceProperties.BuildersetMachineTypeBytes(ByteStringvalue)The machine type of the instance.
string machine_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for machineType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setName(String value)
publicComputeInstanceDataSourceProperties.BuildersetName(Stringvalue)Name of the compute instance backed up by the datasource.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The name to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicComputeInstanceDataSourceProperties.BuildersetNameBytes(ByteStringvalue)Name of the compute instance backed up by the datasource.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicComputeInstanceDataSourceProperties.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
setTotalDiskCount(long value)
publicComputeInstanceDataSourceProperties.BuildersetTotalDiskCount(longvalue)The total number of disks attached to the Instance.
int64 total_disk_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
long The totalDiskCount to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setTotalDiskSizeGb(long value)
publicComputeInstanceDataSourceProperties.BuildersetTotalDiskSizeGb(longvalue)The sum of all the disk sizes.
int64 total_disk_size_gb = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
long The totalDiskSizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalComputeInstanceDataSourceProperties.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|