Class ListDataAccessScopesRequest.Builder (0.2.0)

public static final class ListDataAccessScopesRequest.Builder extends GeneratedMessageV3.Builder<ListDataAccessScopesRequest.Builder> implements ListDataAccessScopesRequestOrBuilder

Request message for ListDataAccessScopes.

Protobuf type google.cloud.chronicle.v1.ListDataAccessScopesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataAccessScopesRequest build()
Returns
Type Description
ListDataAccessScopesRequest

buildPartial()

public ListDataAccessScopesRequest buildPartial()
Returns
Type Description
ListDataAccessScopesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListDataAccessScopesRequest.Builder clearFilter()

Optional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessScope and all operations as mentioned in https://google.aip.dev/160. example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR display_name:\"-21-1\"".

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

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListDataAccessScopesRequest.Builder clearPageSize()

The maximum number of data access scopes to return. The service may return fewer than this value. If unspecified, at most 100 data access scopes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2;

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

clearPageToken()

public ListDataAccessScopesRequest.Builder clearPageToken()

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

string page_token = 3;

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

clearParent()

public ListDataAccessScopesRequest.Builder clearParent()

Required. The parent resource where this data access scope will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDataAccessScopesRequest getDefaultInstanceForType()
Returns
Type Description
ListDataAccessScopesRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessScope and all operations as mentioned in https://google.aip.dev/160. example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR display_name:\"-21-1\"".

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

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessScope and all operations as mentioned in https://google.aip.dev/160. example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR display_name:\"-21-1\"".

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

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The maximum number of data access scopes to return. The service may return fewer than this value. If unspecified, at most 100 data access scopes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent resource where this data access scope will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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 where this data access scope will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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(ListDataAccessScopesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListDataAccessScopesRequest.Builder setFilter(String value)

Optional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessScope and all operations as mentioned in https://google.aip.dev/160. example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR display_name:\"-21-1\"".

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

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListDataAccessScopesRequest.Builder setFilterBytes(ByteString value)

Optional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessScope and all operations as mentioned in https://google.aip.dev/160. example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR display_name:\"-21-1\"".

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

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListDataAccessScopesRequest.Builder setPageSize(int value)

The maximum number of data access scopes to return. The service may return fewer than this value. If unspecified, at most 100 data access scopes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDataAccessScopesRequest.Builder setPageToken(String value)

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

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDataAccessScopesRequest.Builder setPageTokenBytes(ByteString value)

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

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

setParent(String value)

public ListDataAccessScopesRequest.Builder setParent(String value)

Required. The parent resource where this data access scope will be created. Format: projects/{project}/locations/{location}/instances/{instance}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListDataAccessScopesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDataAccessScopesRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this data access scope will be created. Format: projects/{project}/locations/{location}/instances/{instance}

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
ListDataAccessScopesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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