public static final class CreateGlossaryRequest.Builder extends GeneratedMessageV3.Builder<CreateGlossaryRequest.Builder> implements CreateGlossaryRequestOrBuilder
Request message for CreateGlossary.
Protobuf type google.cloud.translation.v3.CreateGlossaryRequest
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 CreateGlossaryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateGlossaryRequest build()
buildPartial()
public CreateGlossaryRequest buildPartial()
clear()
public CreateGlossaryRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGlossaryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGlossary()
public CreateGlossaryRequest.Builder clearGlossary()
Required. The glossary to create.
.google.cloud.translation.v3.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGlossaryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateGlossaryRequest.Builder clearParent()
Required. The project name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateGlossaryRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateGlossaryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGlossary()
public 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.
|
getGlossaryBuilder()
public Glossary.Builder getGlossaryBuilder()
Required. The glossary to create.
.google.cloud.translation.v3.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];
getGlossaryOrBuilder()
public GlossaryOrBuilder getGlossaryOrBuilder()
Required. The glossary to create.
.google.cloud.translation.v3.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateGlossaryRequest other)
public CreateGlossaryRequest.Builder mergeFrom(CreateGlossaryRequest other)
public CreateGlossaryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateGlossaryRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeGlossary(Glossary value)
public CreateGlossaryRequest.Builder mergeGlossary(Glossary value)
Required. The glossary to create.
.google.cloud.translation.v3.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGlossaryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGlossary(Glossary value)
public CreateGlossaryRequest.Builder setGlossary(Glossary value)
Required. The glossary to create.
.google.cloud.translation.v3.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];
setGlossary(Glossary.Builder builderForValue)
public CreateGlossaryRequest.Builder setGlossary(Glossary.Builder builderForValue)
Required. The glossary to create.
.google.cloud.translation.v3.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
public CreateGlossaryRequest.Builder setParent(String value)
Required. The project name.
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 CreateGlossaryRequest.Builder setParentBytes(ByteString value)
Required. The project name.
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 CreateGlossaryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGlossaryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides