public static final class FetchBackupsForResourceTypeRequest.Builder extends GeneratedMessageV3.Builder<FetchBackupsForResourceTypeRequest.Builder> implements FetchBackupsForResourceTypeRequestOrBuilderRequest for the FetchBackupsForResourceType method.
Protobuf type google.cloud.backupdr.v1.FetchBackupsForResourceTypeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchBackupsForResourceTypeRequest.BuilderImplements
FetchBackupsForResourceTypeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchBackupsForResourceTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
build()
public FetchBackupsForResourceTypeRequest build()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest |
|
buildPartial()
public FetchBackupsForResourceTypeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest |
|
clear()
public FetchBackupsForResourceTypeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public FetchBackupsForResourceTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
clearFilter()
public FetchBackupsForResourceTypeRequest.Builder clearFilter()Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields:
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchBackupsForResourceTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
clearOrderBy()
public FetchBackupsForResourceTypeRequest.Builder clearOrderBy()Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
clearPageSize()
public FetchBackupsForResourceTypeRequest.Builder clearPageSize()Optional. The maximum number of Backups to return. The service may return fewer than this value. If unspecified, at most 50 Backups will be returned. The maximum value is 100; values above 100 will be coerced to 100.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchBackupsForResourceTypeRequest.Builder clearPageToken() Optional. A page token, received from a previous call of
FetchBackupsForResourceType.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupsForResourceType must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
clearParent()
public FetchBackupsForResourceTypeRequest.Builder clearParent()Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
clearResourceType()
public FetchBackupsForResourceTypeRequest.Builder clearResourceType()Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
clearView()
public FetchBackupsForResourceTypeRequest.Builder clearView()Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.
.google.cloud.backupdr.v1.BackupView view = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
clone()
public FetchBackupsForResourceTypeRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
getDefaultInstanceForType()
public FetchBackupsForResourceTypeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields:
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields:
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getOrderBy()
public String getOrderBy()Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The orderBy. |
getOrderByBytes()
public ByteString getOrderByBytes()Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for orderBy. |
getPageSize()
public int getPageSize()Optional. The maximum number of Backups to return. The service may return fewer than this value. If unspecified, at most 50 Backups will be returned. The maximum value is 100; values above 100 will be coerced to 100.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous call of
FetchBackupsForResourceType.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupsForResourceType must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous call of
FetchBackupsForResourceType.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupsForResourceType must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getResourceType()
public String getResourceType()Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public ByteString getResourceTypeBytes()Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceType. |
getView()
public BackupView getView()Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.
.google.cloud.backupdr.v1.BackupView view = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BackupView |
The view. |
getViewValue()
public int getViewValue()Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.
.google.cloud.backupdr.v1.BackupView view = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchBackupsForResourceTypeRequest other)
public FetchBackupsForResourceTypeRequest.Builder mergeFrom(FetchBackupsForResourceTypeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchBackupsForResourceTypeRequest |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchBackupsForResourceTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchBackupsForResourceTypeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchBackupsForResourceTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public FetchBackupsForResourceTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
setFilter(String value)
public FetchBackupsForResourceTypeRequest.Builder setFilter(String value)Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields:
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public FetchBackupsForResourceTypeRequest.Builder setFilterBytes(ByteString value)Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields:
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setOrderBy(String value)
public FetchBackupsForResourceTypeRequest.Builder setOrderBy(String value)Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public FetchBackupsForResourceTypeRequest.Builder setOrderByBytes(ByteString value)Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchBackupsForResourceTypeRequest.Builder setPageSize(int value)Optional. The maximum number of Backups to return. The service may return fewer than this value. If unspecified, at most 50 Backups will be returned. The maximum value is 100; values above 100 will be coerced to 100.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchBackupsForResourceTypeRequest.Builder setPageToken(String value) Optional. A page token, received from a previous call of
FetchBackupsForResourceType.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupsForResourceType must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchBackupsForResourceTypeRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous call of
FetchBackupsForResourceType.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupsForResourceType must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setParent(String value)
public FetchBackupsForResourceTypeRequest.Builder setParent(String value)Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public FetchBackupsForResourceTypeRequest.Builder setParentBytes(ByteString value)Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchBackupsForResourceTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
setResourceType(String value)
public FetchBackupsForResourceTypeRequest.Builder setResourceType(String value)Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setResourceTypeBytes(ByteString value)
public FetchBackupsForResourceTypeRequest.Builder setResourceTypeBytes(ByteString value)Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchBackupsForResourceTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
|
setView(BackupView value)
public FetchBackupsForResourceTypeRequest.Builder setView(BackupView value)Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.
.google.cloud.backupdr.v1.BackupView view = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public FetchBackupsForResourceTypeRequest.Builder setViewValue(int value)Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.
.google.cloud.backupdr.v1.BackupView view = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBackupsForResourceTypeRequest.Builder |
This builder for chaining. |