public static final class DeleteGlossaryResponse.Builder extends GeneratedMessage.Builder<DeleteGlossaryResponse.Builder> implements DeleteGlossaryResponseOrBuilderStored in the google.longrunning.Operation.response field returned by DeleteGlossary.
Protobuf type google.cloud.translation.v3.DeleteGlossaryResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteGlossaryResponse.BuilderImplements
DeleteGlossaryResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
clearName()
public DeleteGlossaryResponse.Builder clearName()The name of the deleted glossary.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
DeleteGlossaryResponse.Builder |
This builder for chaining. |
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 |
|
getDefaultInstanceForType()
public DeleteGlossaryResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteGlossaryResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteGlossaryResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteGlossaryResponse.Builder |
|
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 |
|
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 |
|
setName(String value)
public DeleteGlossaryResponse.Builder setName(String value)The name of the deleted glossary.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteGlossaryResponse.Builder |
This builder for chaining. |
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 |
|