Class ListAdaptiveMtFilesResponse (2.36.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
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAdaptiveMtFilesResponse getDefaultInstance()
Returns
TypeDescription
ListAdaptiveMtFilesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListAdaptiveMtFilesResponse.Builder newBuilder()
Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder

newBuilder(ListAdaptiveMtFilesResponse prototype)

public static ListAdaptiveMtFilesResponse.Builder newBuilder(ListAdaptiveMtFilesResponse prototype)
Parameter
NameDescription
prototypeListAdaptiveMtFilesResponse
Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListAdaptiveMtFilesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListAdaptiveMtFilesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListAdaptiveMtFilesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListAdaptiveMtFilesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListAdaptiveMtFilesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListAdaptiveMtFilesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListAdaptiveMtFilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAdaptiveMtFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListAdaptiveMtFilesResponse> parser()
Returns
TypeDescription
Parser<ListAdaptiveMtFilesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.translate.v3.AdaptiveMtFileOrBuilder>

getDefaultInstanceForType()

public ListAdaptiveMtFilesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListAdaptiveMtFilesResponse> getParserForType()
Returns
TypeDescription
Parser<ListAdaptiveMtFilesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListAdaptiveMtFilesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListAdaptiveMtFilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListAdaptiveMtFilesResponse.Builder toBuilder()
Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException