Send feedback
Class DeleteGlossaryResponse.Builder (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.0 keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteGlossaryResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public DeleteGlossaryResponse build ()
Returns
buildPartial()
public DeleteGlossaryResponse buildPartial ()
Returns
clear()
public DeleteGlossaryResponse . Builder clear ()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public DeleteGlossaryResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearName()
public DeleteGlossaryResponse . Builder clearName ()
The name of the deleted glossary.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteGlossaryResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSubmitTime()
public DeleteGlossaryResponse . Builder clearSubmitTime ()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
clone()
public DeleteGlossaryResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public DeleteGlossaryResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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
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
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
getSubmitTime()
public Timestamp getSubmitTime ()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
getSubmitTimeBuilder()
public Timestamp . Builder getSubmitTimeBuilder ()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
getSubmitTimeOrBuilder()
public TimestampOrBuilder getSubmitTimeOrBuilder ()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
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
Returns
mergeFrom(DeleteGlossaryResponse other)
public DeleteGlossaryResponse . Builder mergeFrom ( DeleteGlossaryResponse other )
Parameter
Returns
public DeleteGlossaryResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeleteGlossaryResponse . Builder mergeFrom ( Message other )
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteGlossaryResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteGlossaryResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteGlossaryResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteGlossaryResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]