Class Glossary (2.9.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class Glossary extends GeneratedMessageV3 implements GlossaryOrBuilder

Represents a glossary built from user provided data.

Protobuf type google.cloud.translation.v3.Glossary

Implements

GlossaryOrBuilder

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ENTRY_COUNT_FIELD_NUMBER

public static final int ENTRY_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_CONFIG_FIELD_NUMBER

public static final int INPUT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODES_SET_FIELD_NUMBER

public static final int LANGUAGE_CODES_SET_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_PAIR_FIELD_NUMBER

public static final int LANGUAGE_PAIR_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SUBMIT_TIME_FIELD_NUMBER

public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Glossary getDefaultInstance()
Returns
TypeDescription
Glossary

getDescriptor()

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

newBuilder()

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

newBuilder(Glossary prototype)

public static Glossary.Builder newBuilder(Glossary prototype)
Parameter
NameDescription
prototypeGlossary
Returns
TypeDescription
Glossary.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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