public static final class BackupGcpResource.Builder extends GeneratedMessageV3.Builder<BackupGcpResource.Builder> implements BackupGcpResourceOrBuilderMinimum details to identify a Google Cloud resource for a backup.
Protobuf type google.cloud.backupdr.v1.BackupGcpResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupGcpResource.BuilderImplements
BackupGcpResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupGcpResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
build()
public BackupGcpResource build()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
buildPartial()
public BackupGcpResource buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
clear()
public BackupGcpResource.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public BackupGcpResource.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
clearGcpResourcename()
public BackupGcpResource.Builder clearGcpResourcename()Name of the Google Cloud resource.
string gcp_resourcename = 1;
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
This builder for chaining. |
clearLocation()
public BackupGcpResource.Builder clearLocation()Location of the resource: <region>/<zone>/"global"/"unspecified".
string location = 2;
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupGcpResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
clearType()
public BackupGcpResource.Builder clearType()Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
This builder for chaining. |
clone()
public BackupGcpResource.Builder clone()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
getDefaultInstanceForType()
public BackupGcpResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupGcpResource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcpResourcename()
public String getGcpResourcename()Name of the Google Cloud resource.
string gcp_resourcename = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The gcpResourcename. |
getGcpResourcenameBytes()
public ByteString getGcpResourcenameBytes()Name of the Google Cloud resource.
string gcp_resourcename = 1;
| 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()Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
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(BackupGcpResource other)
public BackupGcpResource.Builder mergeFrom(BackupGcpResource other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupGcpResource |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupGcpResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupGcpResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupGcpResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public BackupGcpResource.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
setGcpResourcename(String value)
public BackupGcpResource.Builder setGcpResourcename(String value)Name of the Google Cloud resource.
string gcp_resourcename = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcpResourcename to set. |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
This builder for chaining. |
setGcpResourcenameBytes(ByteString value)
public BackupGcpResource.Builder setGcpResourcenameBytes(ByteString value)Name of the Google Cloud resource.
string gcp_resourcename = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcpResourcename to set. |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
This builder for chaining. |
setLocation(String value)
public BackupGcpResource.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 |
BackupGcpResource.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public BackupGcpResource.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 |
BackupGcpResource.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupGcpResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|
setType(String value)
public BackupGcpResource.Builder setType(String value)Type of the 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 |
BackupGcpResource.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public BackupGcpResource.Builder setTypeBytes(ByteString value)Type of the 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 |
BackupGcpResource.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupGcpResource.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BackupGcpResource.Builder |
|