public static final class ListGlossaryEntriesRequest.Builder extends GeneratedMessage.Builder<ListGlossaryEntriesRequest.Builder> implements ListGlossaryEntriesRequestOrBuilderRequest message for ListGlossaryEntries
Protobuf type google.cloud.translation.v3.ListGlossaryEntriesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListGlossaryEntriesRequest.BuilderImplements
ListGlossaryEntriesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public ListGlossaryEntriesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListGlossaryEntriesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListGlossaryEntriesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListGlossaryEntriesRequest.Builder |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListGlossaryEntriesRequest.Builder |
This builder for chaining. |