public static final class ListPhraseSetRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder> implements ListPhraseSetRequestOrBuilder
Message sent by the client for the `ListPhraseSet` method.Protobuf type
google.cloud.speech.v1p1beta1.ListPhraseSetRequest| Modifier and Type | Method and Description |
|---|---|
ListPhraseSetRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListPhraseSetRequest |
build() |
ListPhraseSetRequest |
buildPartial() |
ListPhraseSetRequest.Builder |
clear() |
ListPhraseSetRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListPhraseSetRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListPhraseSetRequest.Builder |
clearPageSize()
The maximum number of phrase sets to return.
|
ListPhraseSetRequest.Builder |
clearPageToken()
A page token, received from a previous `ListPhraseSet` call.
|
ListPhraseSetRequest.Builder |
clearParent()
Required.
|
ListPhraseSetRequest.Builder |
clone() |
ListPhraseSetRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
The maximum number of phrase sets to return.
|
String |
getPageToken()
A page token, received from a previous `ListPhraseSet` call.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
A page token, received from a previous `ListPhraseSet` call.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListPhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListPhraseSetRequest.Builder |
mergeFrom(ListPhraseSetRequest other) |
ListPhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListPhraseSetRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListPhraseSetRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListPhraseSetRequest.Builder |
setPageSize(int value)
The maximum number of phrase sets to return.
|
ListPhraseSetRequest.Builder |
setPageToken(String value)
A page token, received from a previous `ListPhraseSet` call.
|
ListPhraseSetRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
A page token, received from a previous `ListPhraseSet` call.
|
ListPhraseSetRequest.Builder |
setParent(String value)
Required.
|
ListPhraseSetRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListPhraseSetRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListPhraseSetRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListPhraseSetRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListPhraseSetRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListPhraseSetRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder mergeFrom(ListPhraseSetRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public ListPhraseSetRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPhraseSetRequest.Builder>IOExceptionpublic String getParent()
Required. The parent, which owns this collection of phrase set. Format:
`projects/{project}/locations/{location}`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListPhraseSetRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent, which owns this collection of phrase set. Format:
`projects/{project}/locations/{location}`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListPhraseSetRequestOrBuilderpublic ListPhraseSetRequest.Builder setParent(String value)
Required. The parent, which owns this collection of phrase set. Format:
`projects/{project}/locations/{location}`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListPhraseSetRequest.Builder clearParent()
Required. The parent, which owns this collection of phrase set. Format:
`projects/{project}/locations/{location}`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListPhraseSetRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent, which owns this collection of phrase set. Format:
`projects/{project}/locations/{location}`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getPageSize()
The maximum number of phrase sets to return. The service may return fewer than this value. If unspecified, at most 50 phrase sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2;getPageSize in interface ListPhraseSetRequestOrBuilderpublic ListPhraseSetRequest.Builder setPageSize(int value)
The maximum number of phrase sets to return. The service may return fewer than this value. If unspecified, at most 50 phrase sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2;value - The pageSize to set.public ListPhraseSetRequest.Builder clearPageSize()
The maximum number of phrase sets to return. The service may return fewer than this value. If unspecified, at most 50 phrase sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2;public String getPageToken()
A page token, received from a previous `ListPhraseSet` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPhraseSet` must match the call that provided the page token.
string page_token = 3;getPageToken in interface ListPhraseSetRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
A page token, received from a previous `ListPhraseSet` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPhraseSet` must match the call that provided the page token.
string page_token = 3;getPageTokenBytes in interface ListPhraseSetRequestOrBuilderpublic ListPhraseSetRequest.Builder setPageToken(String value)
A page token, received from a previous `ListPhraseSet` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPhraseSet` must match the call that provided the page token.
string page_token = 3;value - The pageToken to set.public ListPhraseSetRequest.Builder clearPageToken()
A page token, received from a previous `ListPhraseSet` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPhraseSet` must match the call that provided the page token.
string page_token = 3;public ListPhraseSetRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A page token, received from a previous `ListPhraseSet` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPhraseSet` must match the call that provided the page token.
string page_token = 3;value - The bytes for pageToken to set.public final ListPhraseSetRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>public final ListPhraseSetRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListPhraseSetRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.