public static final class FetchDataSourceReferencesForResourceTypeRequest.Builder extends GeneratedMessageV3.Builder<FetchDataSourceReferencesForResourceTypeRequest.Builder> implements FetchDataSourceReferencesForResourceTypeRequestOrBuilder
Request for the FetchDataSourceReferencesForResourceType method.
Protobuf type google.cloud.backupdr.v1.FetchDataSourceReferencesForResourceTypeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchDataSourceReferencesForResourceTypeRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchDataSourceReferencesForResourceTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
build()
public FetchDataSourceReferencesForResourceTypeRequest build()
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest |
buildPartial()
public FetchDataSourceReferencesForResourceTypeRequest buildPartial()
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest |
clear()
public FetchDataSourceReferencesForResourceTypeRequest.Builder clear()
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public FetchDataSourceReferencesForResourceTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
clearFilter()
public FetchDataSourceReferencesForResourceTypeRequest.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:
- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchDataSourceReferencesForResourceTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
clearOrderBy()
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
clearPageSize()
public FetchDataSourceReferencesForResourceTypeRequest.Builder clearPageSize()
Optional. The maximum number of DataSourceReferences to return. The service may return fewer than this value. If unspecified, at most 50 DataSourceReferences 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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchDataSourceReferencesForResourceTypeRequest.Builder clearPageToken()
Optional. A page token, received from a previous call of
FetchDataSourceReferencesForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchDataSourceReferencesForResourceType
must match
the call that provided the page token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
clearParent()
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
clearResourceType()
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
clone()
public FetchDataSourceReferencesForResourceTypeRequest.Builder clone()
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
getDefaultInstanceForType()
public FetchDataSourceReferencesForResourceTypeRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest |
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:
- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_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:
- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_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 DataSourceReferences to return. The service may return fewer than this value. If unspecified, at most 50 DataSourceReferences 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
FetchDataSourceReferencesForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchDataSourceReferencesForResourceType
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
FetchDataSourceReferencesForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchDataSourceReferencesForResourceType
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(FetchDataSourceReferencesForResourceTypeRequest other)
public FetchDataSourceReferencesForResourceTypeRequest.Builder mergeFrom(FetchDataSourceReferencesForResourceTypeRequest other)
Parameter | |
---|---|
Name | Description |
other |
FetchDataSourceReferencesForResourceTypeRequest |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchDataSourceReferencesForResourceTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FetchDataSourceReferencesForResourceTypeRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchDataSourceReferencesForResourceTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FetchDataSourceReferencesForResourceTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
setFilter(String value)
public FetchDataSourceReferencesForResourceTypeRequest.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:
- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public FetchDataSourceReferencesForResourceTypeRequest.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:
- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setOrderBy(String value)
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchDataSourceReferencesForResourceTypeRequest.Builder setPageSize(int value)
Optional. The maximum number of DataSourceReferences to return. The service may return fewer than this value. If unspecified, at most 50 DataSourceReferences 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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchDataSourceReferencesForResourceTypeRequest.Builder setPageToken(String value)
Optional. A page token, received from a previous call of
FetchDataSourceReferencesForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchDataSourceReferencesForResourceType
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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchDataSourceReferencesForResourceTypeRequest.Builder setPageTokenBytes(ByteString value)
Optional. A page token, received from a previous call of
FetchDataSourceReferencesForResourceType
.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchDataSourceReferencesForResourceType
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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setParent(String value)
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchDataSourceReferencesForResourceTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
setResourceType(String value)
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setResourceTypeBytes(ByteString value)
public FetchDataSourceReferencesForResourceTypeRequest.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 |
FetchDataSourceReferencesForResourceTypeRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchDataSourceReferencesForResourceTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchDataSourceReferencesForResourceTypeRequest.Builder |