Class SearchEntriesRequest.Builder (1.46.0)

public static final class SearchEntriesRequest.Builder extends GeneratedMessageV3.Builder<SearchEntriesRequest.Builder> implements SearchEntriesRequestOrBuilder

Protobuf type google.cloud.dataplex.v1.SearchEntriesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchEntriesRequest build()
Returns
Type Description
SearchEntriesRequest

buildPartial()

public SearchEntriesRequest buildPartial()
Returns
Type Description
SearchEntriesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public SearchEntriesRequest.Builder clearName()

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderBy()

public SearchEntriesRequest.Builder clearOrderBy()

Optional. Ordering of the results. Supported options to be added later.

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

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

clearPageSize()

public SearchEntriesRequest.Builder clearPageSize()

Optional. Pagination.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

clearPageToken()

public SearchEntriesRequest.Builder clearPageToken()

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

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

clearQuery()

public SearchEntriesRequest.Builder clearQuery()

Required. The query against which entries in scope should be matched.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

clearScope()

public SearchEntriesRequest.Builder clearScope()

Optional. The scope under which the search should be operating. Should either be organizations/<org_id> or projects/<project_ref>. If left unspecified, it will default to the organization where the project provided in name is located.

string scope = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchEntriesRequest getDefaultInstanceForType()
Returns
Type Description
SearchEntriesRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getOrderBy()

public String getOrderBy()

Optional. Ordering of the results. Supported options to be added later.

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

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. Ordering of the results. Supported options to be added later.

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

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. Pagination.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

Returns
Type Description
ByteString

The bytes for pageToken.

getQuery()

public String getQuery()

Required. The query against which entries in scope should be matched.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

Required. The query against which entries in scope should be matched.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for query.

getScope()

public String getScope()

Optional. The scope under which the search should be operating. Should either be organizations/<org_id> or projects/<project_ref>. If left unspecified, it will default to the organization where the project provided in name is located.

string scope = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Optional. The scope under which the search should be operating. Should either be organizations/<org_id> or projects/<project_ref>. If left unspecified, it will default to the organization where the project provided in name is located.

string scope = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for scope.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchEntriesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public SearchEntriesRequest.Builder setName(String value)

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SearchEntriesRequest.Builder setNameBytes(ByteString value)

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public SearchEntriesRequest.Builder setOrderBy(String value)

Optional. Ordering of the results. Supported options to be added later.

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

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public SearchEntriesRequest.Builder setOrderByBytes(ByteString value)

Optional. Ordering of the results. Supported options to be added later.

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

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setPageSize(int value)

public SearchEntriesRequest.Builder setPageSize(int value)

Optional. Pagination.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchEntriesRequest.Builder setPageToken(String value)

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchEntriesRequest.Builder setPageTokenBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setQuery(String value)

public SearchEntriesRequest.Builder setQuery(String value)

Required. The query against which entries in scope should be matched.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The query to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public SearchEntriesRequest.Builder setQueryBytes(ByteString value)

Required. The query against which entries in scope should be matched.

string query = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

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

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

setScope(String value)

public SearchEntriesRequest.Builder setScope(String value)

Optional. The scope under which the search should be operating. Should either be organizations/<org_id> or projects/<project_ref>. If left unspecified, it will default to the organization where the project provided in name is located.

string scope = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The scope to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setScopeBytes(ByteString value)

public SearchEntriesRequest.Builder setScopeBytes(ByteString value)

Optional. The scope under which the search should be operating. Should either be organizations/<org_id> or projects/<project_ref>. If left unspecified, it will default to the organization where the project provided in name is located.

string scope = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for scope to set.

Returns
Type Description
SearchEntriesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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