Interface CreateGlossaryRequestOrBuilder (2.55.0)

public interface CreateGlossaryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGlossary()

public abstract Glossary getGlossary()

Required. The glossary to create.

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

Returns
Type Description
Glossary

The glossary.

getGlossaryOrBuilder()

public abstract GlossaryOrBuilder getGlossaryOrBuilder()

Required. The glossary to create.

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

Returns
Type Description
GlossaryOrBuilder

getParent()

public abstract String getParent()

Required. The project name.

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 project name.

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

Returns
Type Description
ByteString

The bytes for parent.

hasGlossary()

public abstract boolean hasGlossary()

Required. The glossary to create.

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

Returns
Type Description
boolean

Whether the glossary field is set.