Class ListAdaptiveMtDatasetsResponse (2.37.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
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 ListAdaptiveMtDatasetsResponse getDefaultInstance()
Returns
TypeDescription
ListAdaptiveMtDatasetsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListAdaptiveMtDatasetsResponse prototype)

public static ListAdaptiveMtDatasetsResponse.Builder newBuilder(ListAdaptiveMtDatasetsResponse prototype)
Parameter
NameDescription
prototypeListAdaptiveMtDatasetsResponse
Returns
TypeDescription
ListAdaptiveMtDatasetsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

The bytes for nextPageToken.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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