public static final class DeleteGlossaryMetadata.Builder extends GeneratedMessageV3.Builder<DeleteGlossaryMetadata.Builder> implements DeleteGlossaryMetadataOrBuilder
Stored in the google.longrunning.Operation.metadata field returned by DeleteGlossary.
Protobuf type google.cloud.translation.v3.DeleteGlossaryMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteGlossaryMetadata.BuilderImplements
DeleteGlossaryMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteGlossaryMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder |
build()
public DeleteGlossaryMetadata build()
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata |
buildPartial()
public DeleteGlossaryMetadata buildPartial()
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata |
clear()
public DeleteGlossaryMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteGlossaryMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder |
clearName()
public DeleteGlossaryMetadata.Builder clearName()
The name of the glossary that is being deleted.
string name = 1;
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteGlossaryMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder |
clearState()
public DeleteGlossaryMetadata.Builder clearState()
The current state of the glossary deletion operation.
.google.cloud.translation.v3.DeleteGlossaryMetadata.State state = 2;
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder | This builder for chaining. |
clearSubmitTime()
public DeleteGlossaryMetadata.Builder clearSubmitTime()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 3;
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder |
clone()
public DeleteGlossaryMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.Builder |
getDefaultInstanceForType()
public DeleteGlossaryMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
The name of the glossary that is being deleted.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the glossary that is being deleted.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getState()
public DeleteGlossaryMetadata.State getState()
The current state of the glossary deletion operation.
.google.cloud.translation.v3.DeleteGlossaryMetadata.State state = 2;
Returns | |
---|---|
Type | Description |
DeleteGlossaryMetadata.State | The state. |
getStateValue()
public int getStateValue()
The current state of the glossary deletion operation.
.google.cloud.translation.v3.DeleteGlossaryMetadata.State state = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |