public static final class FetchBackupPlanAssociationsForResourceTypeRequest.Builder extends GeneratedMessageV3.Builder<FetchBackupPlanAssociationsForResourceTypeRequest.Builder> implements FetchBackupPlanAssociationsForResourceTypeRequestOrBuilder
Request for the FetchBackupPlanAssociationsForResourceType method.
Protobuf type
google.cloud.backupdr.v1.FetchBackupPlanAssociationsForResourceTypeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchBackupPlanAssociationsForResourceTypeRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
build()
public FetchBackupPlanAssociationsForResourceTypeRequest build()
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest |
buildPartial()
public FetchBackupPlanAssociationsForResourceTypeRequest buildPartial()
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest |
clear()
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clear()
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
clearFilter()
public FetchBackupPlanAssociationsForResourceTypeRequest.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:
- resource
- backup_plan
- state
- data_source
- cloud_sql_instance_backup_plan_association_properties.instance_create_time
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
clearOrderBy()
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clearOrderBy()
Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.
Supported fields:
- name
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
clearPageSize()
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clearPageSize()
Optional. The maximum number of BackupPlanAssociations to return. The service may return fewer than this value. If unspecified, at most 50 BackupPlanAssociations 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 |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clearPageToken()
Optional. A page token, received from a previous call of
FetchBackupPlanAssociationsForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupPlanAssociationsForResourceType
must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
clearParent()
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clearParent()
Required. The parent resource name. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
clearResourceType()
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clearResourceType()
Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
clone()
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder clone()
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
getDefaultInstanceForType()
public FetchBackupPlanAssociationsForResourceTypeRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest |
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:
- resource
- backup_plan
- state
- data_source
- cloud_sql_instance_backup_plan_association_properties.instance_create_time
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:
- resource
- backup_plan
- state
- data_source
- cloud_sql_instance_backup_plan_association_properties.instance_create_time
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.
Supported fields:
- name
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.
Supported fields:
- name
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 BackupPlanAssociations to return. The service may return fewer than this value. If unspecified, at most 50 BackupPlanAssociations 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
FetchBackupPlanAssociationsForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupPlanAssociationsForResourceType
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
FetchBackupPlanAssociationsForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupPlanAssociationsForResourceType
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. The parent resource name. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource name. Format: projects/{project}/locations/{location}
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: sql.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: sql.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FetchBackupPlanAssociationsForResourceTypeRequest other)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder mergeFrom(FetchBackupPlanAssociationsForResourceTypeRequest other)
Parameter | |
---|---|
Name | Description |
other |
FetchBackupPlanAssociationsForResourceTypeRequest |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchBackupPlanAssociationsForResourceTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
setFilter(String value)
public FetchBackupPlanAssociationsForResourceTypeRequest.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:
- resource
- backup_plan
- state
- data_source
- cloud_sql_instance_backup_plan_association_properties.instance_create_time
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public FetchBackupPlanAssociationsForResourceTypeRequest.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:
- resource
- backup_plan
- state
- data_source
- cloud_sql_instance_backup_plan_association_properties.instance_create_time
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setOrderBy(String value)
public FetchBackupPlanAssociationsForResourceTypeRequest.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.
Supported fields:
- name
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The orderBy to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public FetchBackupPlanAssociationsForResourceTypeRequest.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.
Supported fields:
- name
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for orderBy to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setPageSize(int value)
Optional. The maximum number of BackupPlanAssociations to return. The service may return fewer than this value. If unspecified, at most 50 BackupPlanAssociations 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 |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setPageToken(String value)
Optional. A page token, received from a previous call of
FetchBackupPlanAssociationsForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupPlanAssociationsForResourceType
must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setPageTokenBytes(ByteString value)
Optional. A page token, received from a previous call of
FetchBackupPlanAssociationsForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchBackupPlanAssociationsForResourceType
must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setParent(String value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setParent(String value)
Required. The parent resource name. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setParentBytes(ByteString value)
Required. The parent resource name. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
setResourceType(String value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setResourceType(String value)
Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The resourceType to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setResourceTypeBytes(ByteString value)
public FetchBackupPlanAssociationsForResourceTypeRequest.Builder setResourceTypeBytes(ByteString value)
Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance
string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for resourceType to set. |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchBackupPlanAssociationsForResourceTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchBackupPlanAssociationsForResourceTypeRequest.Builder |