Package com.google.cloud.translate.v3
Interface CreateGlossaryEntryRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateGlossaryEntryRequest,CreateGlossaryEntryRequest.Builder
@Generated
public interface CreateGlossaryEntryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasGlossaryEntry
boolean hasGlossaryEntry()Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the glossaryEntry field is set.
-
getGlossaryEntry
GlossaryEntry getGlossaryEntry()Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The glossaryEntry.
-
getGlossaryEntryOrBuilder
GlossaryEntryOrBuilder getGlossaryEntryOrBuilder()Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
-