Class ListAdaptiveMtFilesResponse (2.48.0)

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

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()
Returns
Type Description
ListAdaptiveMtFilesResponse

getDescriptor()

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

newBuilder()

public static ListAdaptiveMtFilesResponse.Builder newBuilder()
Returns
Type Description
ListAdaptiveMtFilesResponse.Builder

newBuilder(ListAdaptiveMtFilesResponse prototype)

public static ListAdaptiveMtFilesResponse.Builder newBuilder(ListAdaptiveMtFilesResponse prototype)
Parameter
Name Description
prototype ListAdaptiveMtFilesResponse
Returns
Type Description
ListAdaptiveMtFilesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListAdaptiveMtFilesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListAdaptiveMtFilesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListAdaptiveMtFilesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListAdaptiveMtFilesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListAdaptiveMtFilesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListAdaptiveMtFilesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAdaptiveMtFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListAdaptiveMtFilesResponse> parser()
Returns
Type Description
Parser<ListAdaptiveMtFilesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Returns
Type Description
AdaptiveMtFile

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];

Returns
Type Description
List<AdaptiveMtFile>

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
Returns
Type Description
AdaptiveMtFileOrBuilder

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()
Returns
Type Description
ListAdaptiveMtFilesResponse

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()
Returns
Type Description
Parser<ListAdaptiveMtFilesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListAdaptiveMtFilesResponse.Builder newBuilderForType()
Returns
Type Description
ListAdaptiveMtFilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListAdaptiveMtFilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListAdaptiveMtFilesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListAdaptiveMtFilesResponse.Builder toBuilder()
Returns
Type Description
ListAdaptiveMtFilesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException