Interface CreateGlossaryRequestOrBuilder (2.21.0)

public interface CreateGlossaryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGlossary()

public abstract Glossary getGlossary()

Required. The glossary to create.

.google.cloud.translation.v3beta1.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Glossary

The glossary.

getGlossaryOrBuilder()

public abstract GlossaryOrBuilder getGlossaryOrBuilder()

Required. The glossary to create.

.google.cloud.translation.v3beta1.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GlossaryOrBuilder

getParent()

public abstract String getParent()

Required. The project name.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project name.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasGlossary()

public abstract boolean hasGlossary()

Required. The glossary to create.

.google.cloud.translation.v3beta1.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the glossary field is set.