Class DeleteGlossaryResponse.Builder (2.32.0)

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.v3.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.

getSubmitTime()

public Timestamp getSubmitTime()

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Returns
TypeDescription
Timestamp

The submitTime.

getSubmitTimeBuilder()

public Timestamp.Builder getSubmitTimeBuilder()

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Returns
TypeDescription
Builder

getSubmitTimeOrBuilder()

public TimestampOrBuilder getSubmitTimeOrBuilder()

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

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
boolean

Whether the endTime field is set.

hasSubmitTime()

public boolean hasSubmitTime()

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Returns
TypeDescription
boolean

Whether the submitTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public DeleteGlossaryResponse.Builder mergeEndTime(Timestamp value)

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

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteGlossaryResponse.Builder

mergeFrom(DeleteGlossaryResponse other)

public DeleteGlossaryResponse.Builder mergeFrom(DeleteGlossaryResponse other)
Parameter
NameDescription
otherDeleteGlossaryResponse
Returns
TypeDescription
DeleteGlossaryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteGlossaryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlossaryResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteGlossaryResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteGlossaryResponse.Builder
Overrides

mergeSubmitTime(Timestamp value)

public DeleteGlossaryResponse.Builder mergeSubmitTime(Timestamp value)

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteGlossaryResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteGlossaryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteGlossaryResponse.Builder
Overrides

setEndTime(Timestamp value)

public DeleteGlossaryResponse.Builder setEndTime(Timestamp value)

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

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteGlossaryResponse.Builder

setEndTime(Timestamp.Builder builderForValue)

public DeleteGlossaryResponse.Builder setEndTime(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DeleteGlossaryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteGlossaryResponse.Builder setName(String value)

The name of the deleted glossary.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteGlossaryResponse.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteGlossaryResponse.Builder setNameBytes(ByteString value)

The name of the deleted glossary.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteGlossaryResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteGlossaryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteGlossaryResponse.Builder
Overrides

setSubmitTime(Timestamp value)

public DeleteGlossaryResponse.Builder setSubmitTime(Timestamp value)

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteGlossaryResponse.Builder

setSubmitTime(Timestamp.Builder builderForValue)

public DeleteGlossaryResponse.Builder setSubmitTime(Timestamp.Builder builderForValue)

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DeleteGlossaryResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteGlossaryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteGlossaryResponse.Builder
Overrides