Interface CreateGlossaryEntryRequestOrBuilder (2.51.0)

public interface CreateGlossaryEntryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGlossaryEntry()

public abstract GlossaryEntry getGlossaryEntry()

Required. The glossary entry to create

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

Returns
Type Description
GlossaryEntry

The glossaryEntry.

getGlossaryEntryOrBuilder()

public abstract GlossaryEntryOrBuilder getGlossaryEntryOrBuilder()

Required. The glossary entry to create

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

Returns
Type Description
GlossaryEntryOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the glossary to create the entry under.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the glossary to create the entry under.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasGlossaryEntry()

public abstract boolean hasGlossaryEntry()

Required. The glossary entry to create

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

Returns
Type Description
boolean

Whether the glossaryEntry field is set.