Class ListDataSourceReferencesRequest.Builder (0.39.0)

public static final class ListDataSourceReferencesRequest.Builder extends GeneratedMessageV3.Builder<ListDataSourceReferencesRequest.Builder> implements ListDataSourceReferencesRequestOrBuilder

Request for the ListDataSourceReferences method.

Protobuf type google.cloud.backupdr.v1.ListDataSourceReferencesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDataSourceReferencesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

build()

public ListDataSourceReferencesRequest build()
Returns
Type Description
ListDataSourceReferencesRequest

buildPartial()

public ListDataSourceReferencesRequest buildPartial()
Returns
Type Description
ListDataSourceReferencesRequest

clear()

public ListDataSourceReferencesRequest.Builder clear()
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListDataSourceReferencesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

clearFilter()

public ListDataSourceReferencesRequest.Builder clearFilter()

Optional. A filter expression that filters the results listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering.

The following field and operator combinations are supported:

  • data_source_gcp_resource_info.gcp_resourcename with =, !=
  • data_source_gcp_resource_info.type with =, !=

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDataSourceReferencesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

clearOrderBy()

public ListDataSourceReferencesRequest.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:

  • data_source
  • data_source_gcp_resource_info.gcp_resourcename

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

clearPageSize()

public ListDataSourceReferencesRequest.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

clearPageToken()

public ListDataSourceReferencesRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListDataSourceReferences call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataSourceReferences must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

clearParent()

public ListDataSourceReferencesRequest.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
ListDataSourceReferencesRequest.Builder

This builder for chaining.

clone()

public ListDataSourceReferencesRequest.Builder clone()
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListDataSourceReferencesRequest getDefaultInstanceForType()
Returns
Type Description
ListDataSourceReferencesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. A filter expression that filters the results listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering.

The following field and operator combinations are supported:

  • data_source_gcp_resource_info.gcp_resourcename with =, !=
  • data_source_gcp_resource_info.type with =, !=

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. A filter expression that filters the results listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering.

The following field and operator combinations are supported:

  • data_source_gcp_resource_info.gcp_resourcename with =, !=
  • data_source_gcp_resource_info.type with =, !=

string filter = 4 [(.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:

  • data_source
  • data_source_gcp_resource_info.gcp_resourcename

string order_by = 5 [(.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:

  • data_source
  • data_source_gcp_resource_info.gcp_resourcename

string order_by = 5 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListDataSourceReferences call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataSourceReferences must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListDataSourceReferences call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataSourceReferences must match the call that provided the page token.

string page_token = 3 [(.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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataSourceReferencesRequest other)

public ListDataSourceReferencesRequest.Builder mergeFrom(ListDataSourceReferencesRequest other)
Parameter
Name Description
other ListDataSourceReferencesRequest
Returns
Type Description
ListDataSourceReferencesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDataSourceReferencesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDataSourceReferencesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDataSourceReferencesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListDataSourceReferencesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

setFilter(String value)

public ListDataSourceReferencesRequest.Builder setFilter(String value)

Optional. A filter expression that filters the results listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering.

The following field and operator combinations are supported:

  • data_source_gcp_resource_info.gcp_resourcename with =, !=
  • data_source_gcp_resource_info.type with =, !=

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListDataSourceReferencesRequest.Builder setFilterBytes(ByteString value)

Optional. A filter expression that filters the results listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering.

The following field and operator combinations are supported:

  • data_source_gcp_resource_info.gcp_resourcename with =, !=
  • data_source_gcp_resource_info.type with =, !=

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListDataSourceReferencesRequest.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:

  • data_source
  • data_source_gcp_resource_info.gcp_resourcename

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListDataSourceReferencesRequest.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:

  • data_source
  • data_source_gcp_resource_info.gcp_resourcename

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListDataSourceReferencesRequest.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDataSourceReferencesRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListDataSourceReferences call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataSourceReferences must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDataSourceReferencesRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListDataSourceReferences call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDataSourceReferences must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setParent(String value)

public ListDataSourceReferencesRequest.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
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDataSourceReferencesRequest.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
ListDataSourceReferencesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListDataSourceReferencesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDataSourceReferencesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDataSourceReferencesRequest.Builder
Overrides