Class ListAdaptiveMtDatasetsResponse (2.44.0)

public final class ListAdaptiveMtDatasetsResponse extends GeneratedMessageV3 implements ListAdaptiveMtDatasetsResponseOrBuilder

A list of AdaptiveMtDatasets.

Protobuf type google.cloud.translation.v3.ListAdaptiveMtDatasetsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListAdaptiveMtDatasetsResponse

Static Fields

ADAPTIVE_MT_DATASETS_FIELD_NUMBER

public static final int ADAPTIVE_MT_DATASETS_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 ListAdaptiveMtDatasetsResponse getDefaultInstance()
Returns
Type Description
ListAdaptiveMtDatasetsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListAdaptiveMtDatasetsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdaptiveMtDatasets(int index)

public AdaptiveMtDataset getAdaptiveMtDatasets(int index)

Output only. A list of Adaptive MT datasets.

repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AdaptiveMtDataset

getAdaptiveMtDatasetsCount()

public int getAdaptiveMtDatasetsCount()

Output only. A list of Adaptive MT datasets.

repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAdaptiveMtDatasetsList()

public List<AdaptiveMtDataset> getAdaptiveMtDatasetsList()

Output only. A list of Adaptive MT datasets.

repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AdaptiveMtDataset>

getAdaptiveMtDatasetsOrBuilder(int index)

public AdaptiveMtDatasetOrBuilder getAdaptiveMtDatasetsOrBuilder(int index)

Output only. A list of Adaptive MT datasets.

repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AdaptiveMtDatasetOrBuilder

getAdaptiveMtDatasetsOrBuilderList()

public List<? extends AdaptiveMtDatasetOrBuilder> getAdaptiveMtDatasetsOrBuilderList()

Output only. A list of Adaptive MT datasets.

repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.translate.v3.AdaptiveMtDatasetOrBuilder>

getDefaultInstanceForType()

public ListAdaptiveMtDatasetsResponse getDefaultInstanceForType()
Returns
Type Description
ListAdaptiveMtDatasetsResponse

getNextPageToken()

public String getNextPageToken()

Optional. A token to retrieve a page of results. Pass this value in the [ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to ListAdaptiveMtDatasets method to retrieve the next page of results.

string next_page_token = 2 [(.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 [ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to ListAdaptiveMtDatasets method to retrieve the next page of results.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListAdaptiveMtDatasetsResponse> getParserForType()
Returns
Type Description
Parser<ListAdaptiveMtDatasetsResponse>
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 ListAdaptiveMtDatasetsResponse.Builder newBuilderForType()
Returns
Type Description
ListAdaptiveMtDatasetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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