public static final class DataSourceGcpResource.Builder extends GeneratedMessageV3.Builder<DataSourceGcpResource.Builder> implements DataSourceGcpResourceOrBuilderDataSourceGcpResource 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
DataSourceGcpResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataSourceGcpResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
build()
public DataSourceGcpResource build()| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource | |
buildPartial()
public DataSourceGcpResource buildPartial()| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource | |
clear()
public DataSourceGcpResource.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
clearComputeInstanceDatasourceProperties()
public DataSourceGcpResource.Builder clearComputeInstanceDatasourceProperties()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)
public DataSourceGcpResource.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
clearGcpResourceProperties()
public DataSourceGcpResource.Builder clearGcpResourceProperties()| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
clearGcpResourcename()
public DataSourceGcpResource.Builder clearGcpResourcename()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()
public DataSourceGcpResource.Builder clearLocation()Location of the resource: <region>/<zone>/"global"/"unspecified".
 string location = 2;
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public DataSourceGcpResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
clearType()
public DataSourceGcpResource.Builder clearType()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()
public DataSourceGcpResource.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
getComputeInstanceDatasourceProperties()
public ComputeInstanceDataSourceProperties getComputeInstanceDatasourceProperties()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()
public ComputeInstanceDataSourceProperties.Builder getComputeInstanceDatasourcePropertiesBuilder()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()
public ComputeInstanceDataSourcePropertiesOrBuilder getComputeInstanceDatasourcePropertiesOrBuilder()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()
public DataSourceGcpResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getGcpResourcePropertiesCase()
public DataSourceGcpResource.GcpResourcePropertiesCase getGcpResourcePropertiesCase()| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.GcpResourcePropertiesCase | |
getGcpResourcename()
public String getGcpResourcename()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()
public ByteString getGcpResourcenameBytes()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()
public String getLocation()Location of the resource: <region>/<zone>/"global"/"unspecified".
 string location = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The location. | 
getLocationBytes()
public ByteString getLocationBytes()Location of the resource: <region>/<zone>/"global"/"unspecified".
 string location = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for location. | 
getType()
public String getType()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()
public ByteString getTypeBytes()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()
public boolean hasComputeInstanceDatasourceProperties()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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties value)
public DataSourceGcpResource.Builder mergeComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties value)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)
public DataSourceGcpResource.Builder mergeFrom(DataSourceGcpResource other)| Parameter | |
|---|---|
| Name | Description | 
| other | DataSourceGcpResource | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataSourceGcpResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public DataSourceGcpResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataSourceGcpResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
setComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties value)
public DataSourceGcpResource.Builder setComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties value)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)
public DataSourceGcpResource.Builder setComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties.Builder builderForValue)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)
public DataSourceGcpResource.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
setGcpResourcename(String value)
public DataSourceGcpResource.Builder setGcpResourcename(String value)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 | StringThe gcpResourcename to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | This builder for chaining. | 
setGcpResourcenameBytes(ByteString value)
public DataSourceGcpResource.Builder setGcpResourcenameBytes(ByteString value)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 | ByteStringThe bytes for gcpResourcename to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | This builder for chaining. | 
setLocation(String value)
public DataSourceGcpResource.Builder setLocation(String value)Location of the resource: <region>/<zone>/"global"/"unspecified".
 string location = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe location to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | This builder for chaining. | 
setLocationBytes(ByteString value)
public DataSourceGcpResource.Builder setLocationBytes(ByteString value)Location of the resource: <region>/<zone>/"global"/"unspecified".
 string location = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for location to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataSourceGcpResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |
setType(String value)
public DataSourceGcpResource.Builder setType(String value)The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
 string type = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe type to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | This builder for chaining. | 
setTypeBytes(ByteString value)
public DataSourceGcpResource.Builder setTypeBytes(ByteString value)The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
 string type = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for type to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final DataSourceGcpResource.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DataSourceGcpResource.Builder | |