Class DataSourceGcpResource.Builder (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass DataSourceGcpResource.BuilderextendsGeneratedMessageV3.Builder<DataSourceGcpResource.Builder>implementsDataSourceGcpResourceOrBuilderDataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource
Protobuf type google.cloud.backupdr.v1.DataSourceGcpResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataSourceGcpResource.BuilderImplements
DataSourceGcpResourceOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicDataSourceGcpResource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
build()
publicDataSourceGcpResourcebuild()| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource |
|
buildPartial()
publicDataSourceGcpResourcebuildPartial()| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource |
|
clear()
publicDataSourceGcpResource.Builderclear()| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
clearComputeInstanceDatasourceProperties()
publicDataSourceGcpResource.BuilderclearComputeInstanceDatasourceProperties()ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicDataSourceGcpResource.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
clearGcpResourceProperties()
publicDataSourceGcpResource.BuilderclearGcpResourceProperties()| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
clearGcpResourcename()
publicDataSourceGcpResource.BuilderclearGcpResourcename()Output only. Full resource pathname URL of the source Google Cloud resource.
string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
clearLocation()
publicDataSourceGcpResource.BuilderclearLocation()Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicDataSourceGcpResource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
clearType()
publicDataSourceGcpResource.BuilderclearType()The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
clone()
publicDataSourceGcpResource.Builderclone()| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
getComputeInstanceDatasourceProperties()
publicComputeInstanceDataSourcePropertiesgetComputeInstanceDatasourceProperties()ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties |
The computeInstanceDatasourceProperties. |
getComputeInstanceDatasourcePropertiesBuilder()
publicComputeInstanceDataSourceProperties.BuildergetComputeInstanceDatasourcePropertiesBuilder()ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties.Builder |
|
getComputeInstanceDatasourcePropertiesOrBuilder()
publicComputeInstanceDataSourcePropertiesOrBuildergetComputeInstanceDatasourcePropertiesOrBuilder()ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourcePropertiesOrBuilder |
|
getDefaultInstanceForType()
publicDataSourceGcpResourcegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcpResourcePropertiesCase()
publicDataSourceGcpResource.GcpResourcePropertiesCasegetGcpResourcePropertiesCase()| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.GcpResourcePropertiesCase |
|
getGcpResourcename()
publicStringgetGcpResourcename()Output only. Full resource pathname URL of the source Google Cloud resource.
string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The gcpResourcename. |
getGcpResourcenameBytes()
publicByteStringgetGcpResourcenameBytes()Output only. Full resource pathname URL of the source Google Cloud resource.
string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcpResourcename. |
getLocation()
publicStringgetLocation()Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
publicByteStringgetLocationBytes()Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getType()
publicStringgetType()The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
publicByteStringgetTypeBytes()The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
hasComputeInstanceDatasourceProperties()
publicbooleanhasComputeInstanceDatasourceProperties()ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the computeInstanceDatasourceProperties field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties value)
publicDataSourceGcpResource.BuildermergeComputeInstanceDatasourceProperties(ComputeInstanceDataSourcePropertiesvalue)ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeInstanceDataSourceProperties |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
mergeFrom(DataSourceGcpResource other)
publicDataSourceGcpResource.BuildermergeFrom(DataSourceGcpResourceother)| Parameter | |
|---|---|
| Name | Description |
other |
DataSourceGcpResource |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicDataSourceGcpResource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicDataSourceGcpResource.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalDataSourceGcpResource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
setComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties value)
publicDataSourceGcpResource.BuildersetComputeInstanceDatasourceProperties(ComputeInstanceDataSourcePropertiesvalue)ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeInstanceDataSourceProperties |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
setComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties.Builder builderForValue)
publicDataSourceGcpResource.BuildersetComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties.BuilderbuilderForValue)ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ComputeInstanceDataSourceProperties.Builder |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicDataSourceGcpResource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
setGcpResourcename(String value)
publicDataSourceGcpResource.BuildersetGcpResourcename(Stringvalue)Output only. Full resource pathname URL of the source Google Cloud resource.
string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The gcpResourcename to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
setGcpResourcenameBytes(ByteString value)
publicDataSourceGcpResource.BuildersetGcpResourcenameBytes(ByteStringvalue)Output only. Full resource pathname URL of the source Google Cloud resource.
string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for gcpResourcename to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
setLocation(String value)
publicDataSourceGcpResource.BuildersetLocation(Stringvalue)Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The location to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
publicDataSourceGcpResource.BuildersetLocationBytes(ByteStringvalue)Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicDataSourceGcpResource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|
setType(String value)
publicDataSourceGcpResource.BuildersetType(Stringvalue)The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The type to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
publicDataSourceGcpResource.BuildersetTypeBytes(ByteStringvalue)The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalDataSourceGcpResource.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataSourceGcpResource.Builder |
|