Class DeleteGlossaryMetadata.Builder (2.31.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteGlossaryMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteGlossaryMetadata.Builder
Overrides

build()

public DeleteGlossaryMetadata build()
Returns
TypeDescription
DeleteGlossaryMetadata

buildPartial()

public DeleteGlossaryMetadata buildPartial()
Returns
TypeDescription
DeleteGlossaryMetadata

clear()

public DeleteGlossaryMetadata.Builder clear()
Returns
TypeDescription
DeleteGlossaryMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteGlossaryMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteGlossaryMetadata.Builder
Overrides

clearName()

public DeleteGlossaryMetadata.Builder clearName()

The name of the glossary that is being deleted.

string name = 1;

Returns
TypeDescription
DeleteGlossaryMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteGlossaryMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteGlossaryMetadata.Builder
Overrides

clearState()

public DeleteGlossaryMetadata.Builder clearState()

The current state of the glossary deletion operation.

.google.cloud.translation.v3.DeleteGlossaryMetadata.State state = 2;

Returns
TypeDescription
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
TypeDescription
DeleteGlossaryMetadata.Builder

clone()

public DeleteGlossaryMetadata.Builder clone()
Returns
TypeDescription
DeleteGlossaryMetadata.Builder
Overrides

getDefaultInstanceForType()

public DeleteGlossaryMetadata getDefaultInstanceForType()
Returns
TypeDescription
DeleteGlossaryMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the glossary that is being deleted.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the glossary that is being deleted.

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

getSubmitTime()