Class DeleteGlossaryResponse.Builder (2.9.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class DeleteGlossaryResponse.Builder extends GeneratedMessageV3.Builder<DeleteGlossaryResponse.Builder> implements DeleteGlossaryResponseOrBuilder

Stored in the google.longrunning.Operation.response field returned by DeleteGlossary.

Protobuf type google.cloud.translation.v3beta1.DeleteGlossaryResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteGlossaryResponse build()
Returns
TypeDescription
DeleteGlossaryResponse

buildPartial()

public DeleteGlossaryResponse buildPartial()
Returns
TypeDescription
DeleteGlossaryResponse

clear()

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

clearEndTime()

public DeleteGlossaryResponse.Builder clearEndTime()

The time when the glossary deletion is finished and google.longrunning.Operation.done is set to true.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
DeleteGlossaryResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteGlossaryResponse.Builder clearName()

The name of the deleted glossary.

string name = 1;

Returns
TypeDescription
DeleteGlossaryResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubmitTime()

public DeleteGlossaryResponse.Builder clearSubmitTime()

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Returns
TypeDescription
DeleteGlossaryResponse.Builder

clone()

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

getDefaultInstanceForType()

public DeleteGlossaryResponse getDefaultInstanceForType()
Returns
TypeDescription
DeleteGlossaryResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time when the glossary deletion is finished and google.longrunning.Operation.done is set to true.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time when the glossary deletion is finished and google.longrunning.Operation.done is set to true.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time when the glossary deletion is finished and google.longrunning.Operation.done is set to true.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getName()

public String getName()

The name of the deleted glossary.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the deleted glossary.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.