Class ListGlossaryEntriesRequest.Builder (2.54.0)

public static final class ListGlossaryEntriesRequest.Builder extends GeneratedMessageV3.Builder<ListGlossaryEntriesRequest.Builder> implements ListGlossaryEntriesRequestOrBuilder

Request message for ListGlossaryEntries

Protobuf type google.cloud.translation.v3.ListGlossaryEntriesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGlossaryEntriesRequest build()
Returns
Type Description
ListGlossaryEntriesRequest

buildPartial()

public ListGlossaryEntriesRequest buildPartial()
Returns
Type Description
ListGlossaryEntriesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListGlossaryEntriesRequest.Builder clearPageSize()

Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

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

Returns
Type Description
ListGlossaryEntriesRequest.Builder

This builder for chaining.

clearPageToken()

public ListGlossaryEntriesRequest.Builder clearPageToken()

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

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

Returns
Type Description
ListGlossaryEntriesRequest.Builder

This builder for chaining.

clearParent()

public ListGlossaryEntriesRequest.Builder clearParent()

Required. The parent glossary resource name for listing the glossary's entries.

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

Returns
Type Description
ListGlossaryEntriesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListGlossaryEntriesRequest getDefaultInstanceForType()
Returns
Type Description
ListGlossaryEntriesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent glossary resource name for listing the glossary's entries.

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 glossary resource name for listing the glossary's entries.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListGlossaryEntriesRequest.Builder setPageSize(int value)

Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListGlossaryEntriesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListGlossaryEntriesRequest.Builder setPageToken(String value)

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListGlossaryEntriesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListGlossaryEntriesRequest.Builder setPageTokenBytes(ByteString value)

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListGlossaryEntriesRequest.Builder

This builder for chaining.

setParent(String value)

public ListGlossaryEntriesRequest.Builder setParent(String value)

Required. The parent glossary resource name for listing the glossary's entries.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListGlossaryEntriesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListGlossaryEntriesRequest.Builder setParentBytes(ByteString value)

Required. The parent glossary resource name for listing the glossary's entries.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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