public static final class CreateGlossaryEntryRequest.Builder extends GeneratedMessageV3.Builder<CreateGlossaryEntryRequest.Builder> implements CreateGlossaryEntryRequestOrBuilder
Request message for CreateGlossaryEntry
Protobuf type google.cloud.translation.v3.CreateGlossaryEntryRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateGlossaryEntryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateGlossaryEntryRequest build()
buildPartial()
public CreateGlossaryEntryRequest buildPartial()
clear()
public CreateGlossaryEntryRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGlossaryEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGlossaryEntry()
public CreateGlossaryEntryRequest.Builder clearGlossaryEntry()
Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGlossaryEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateGlossaryEntryRequest.Builder clearParent()
Required. The resource name of the glossary to create the entry under.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateGlossaryEntryRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateGlossaryEntryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGlossaryEntry()
public GlossaryEntry getGlossaryEntry()
Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
getGlossaryEntryBuilder()
public GlossaryEntry.Builder getGlossaryEntryBuilder()
Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
getGlossaryEntryOrBuilder()
public GlossaryEntryOrBuilder getGlossaryEntryOrBuilder()
Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateGlossaryEntryRequest other)
public CreateGlossaryEntryRequest.Builder mergeFrom(CreateGlossaryEntryRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateGlossaryEntryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateGlossaryEntryRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGlossaryEntry(GlossaryEntry value)
public CreateGlossaryEntryRequest.Builder mergeGlossaryEntry(GlossaryEntry value)
Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGlossaryEntryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGlossaryEntry(GlossaryEntry value)
public CreateGlossaryEntryRequest.Builder setGlossaryEntry(GlossaryEntry value)
Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
setGlossaryEntry(GlossaryEntry.Builder builderForValue)
public CreateGlossaryEntryRequest.Builder setGlossaryEntry(GlossaryEntry.Builder builderForValue)
Required. The glossary entry to create
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 2 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
public CreateGlossaryEntryRequest.Builder setParent(String value)
Required. The resource name of the glossary to create the entry under.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateGlossaryEntryRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the glossary to create the entry under.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGlossaryEntryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides