public final class ListAdaptiveMtFilesResponse extends GeneratedMessageV3 implements ListAdaptiveMtFilesResponseOrBuilder
The response for listing all AdaptiveMt files under a given dataset.
Protobuf type google.cloud.translation.v3.ListAdaptiveMtFilesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADAPTIVE_MT_FILES_FIELD_NUMBER
public static final int ADAPTIVE_MT_FILES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ListAdaptiveMtFilesResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListAdaptiveMtFilesResponse.Builder newBuilder()
newBuilder(ListAdaptiveMtFilesResponse prototype)
public static ListAdaptiveMtFilesResponse.Builder newBuilder(ListAdaptiveMtFilesResponse prototype)
public static ListAdaptiveMtFilesResponse parseDelimitedFrom(InputStream input)
public static ListAdaptiveMtFilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListAdaptiveMtFilesResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListAdaptiveMtFilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListAdaptiveMtFilesResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAdaptiveMtFilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAdaptiveMtFilesResponse parseFrom(CodedInputStream input)
public static ListAdaptiveMtFilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListAdaptiveMtFilesResponse parseFrom(InputStream input)
public static ListAdaptiveMtFilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListAdaptiveMtFilesResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListAdaptiveMtFilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListAdaptiveMtFilesResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAdaptiveMtFiles(int index)
public AdaptiveMtFile getAdaptiveMtFiles(int index)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtFilesCount()
public int getAdaptiveMtFilesCount()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getAdaptiveMtFilesList()
public List<AdaptiveMtFile> getAdaptiveMtFilesList()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdaptiveMtFilesOrBuilder(int index)
public AdaptiveMtFileOrBuilder getAdaptiveMtFilesOrBuilder(int index)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtFilesOrBuilderList()
public List<? extends AdaptiveMtFileOrBuilder> getAdaptiveMtFilesOrBuilderList()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.translate.v3.AdaptiveMtFileOrBuilder> |
|
getDefaultInstanceForType()
public ListAdaptiveMtFilesResponse getDefaultInstanceForType()
getNextPageToken()
public String getNextPageToken()
Optional. A token to retrieve a page of results. Pass this value in the
ListAdaptiveMtFilesRequest.page_token field in the subsequent call to
ListAdaptiveMtFiles
method to retrieve the next page of results.
string next_page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Optional. A token to retrieve a page of results. Pass this value in the
ListAdaptiveMtFilesRequest.page_token field in the subsequent call to
ListAdaptiveMtFiles
method to retrieve the next page of results.
string next_page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getParserForType()
public Parser<ListAdaptiveMtFilesResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListAdaptiveMtFilesResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListAdaptiveMtFilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ListAdaptiveMtFilesResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides