Class UpdateGlossaryEntryRequest (2.53.0)

public final class UpdateGlossaryEntryRequest extends GeneratedMessageV3 implements UpdateGlossaryEntryRequestOrBuilder

Request message for UpdateGlossaryEntry

Protobuf type google.cloud.translation.v3.UpdateGlossaryEntryRequest

Static Fields

GLOSSARY_ENTRY_FIELD_NUMBER

public static final int GLOSSARY_ENTRY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateGlossaryEntryRequest getDefaultInstance()
Returns
Type Description
UpdateGlossaryEntryRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateGlossaryEntryRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateGlossaryEntryRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGlossaryEntryRequest

getGlossaryEntry()

public GlossaryEntry getGlossaryEntry()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryEntry

The glossaryEntry.

getGlossaryEntryOrBuilder()

public GlossaryEntryOrBuilder getGlossaryEntryOrBuilder()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryEntryOrBuilder

getParserForType()

public Parser<UpdateGlossaryEntryRequest> getParserForType()
Returns
Type Description
Parser<UpdateGlossaryEntryRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGlossaryEntry()

public boolean hasGlossaryEntry()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the glossaryEntry field is set.

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 UpdateGlossaryEntryRequest.Builder newBuilderForType()
Returns
Type Description
UpdateGlossaryEntryRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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