Class DeleteGlossaryResponse.Builder (2.45.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteGlossaryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteGlossaryResponse.Builder
Overrides

build()

public DeleteGlossaryResponse build()
Returns
Type Description
DeleteGlossaryResponse

buildPartial()

public DeleteGlossaryResponse buildPartial()
Returns
Type Description
DeleteGlossaryResponse

clear()

public DeleteGlossaryResponse.Builder clear()
Returns
Type Description
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
Type Description
DeleteGlossaryResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public DeleteGlossaryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteGlossaryResponse.Builder
Overrides

clearName()

public DeleteGlossaryResponse.Builder clearName()

The name of the deleted glossary.

string name = 1;

Returns
Type Description
DeleteGlossaryResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteGlossaryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
DeleteGlossaryResponse.Builder

clone()

public DeleteGlossaryResponse.Builder clone()
Returns
Type Description
DeleteGlossaryResponse.Builder
Overrides

getDefaultInstanceForType()

public DeleteGlossaryResponse getDefaultInstanceForType()
Returns
Type Description
DeleteGlossaryResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getName()

public String getName()

The name of the deleted glossary.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the deleted glossary.

string name = 1;

Returns
Type Description
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
Type Description
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
Type Description
Builder

getSubmitTimeOrBuilder()

public TimestampOrBuilder getSubmitTimeOrBuilder()

The time when the operation was submitted to the server.

.google.protobuf.Timestamp submit_time = 2;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the submitTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
DeleteGlossaryResponse.Builder

mergeFrom(DeleteGlossaryResponse other)

public DeleteGlossaryResponse.Builder mergeFrom(DeleteGlossaryResponse other)
Parameter
Name Description
other DeleteGlossaryResponse
Returns
Type Description
DeleteGlossaryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteGlossaryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteGlossaryResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteGlossaryResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
DeleteGlossaryResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteGlossaryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
DeleteGlossaryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteGlossaryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteGlossaryResponse.Builder
Overrides

setName(String value)

public DeleteGlossaryResponse.Builder setName(String value)

The name of the deleted glossary.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
DeleteGlossaryResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteGlossaryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteGlossaryResponse.Builder
Overrides