Class DeleteGlossaryResponse (2.19.0)

public final class DeleteGlossaryResponse extends GeneratedMessageV3 implements DeleteGlossaryResponseOrBuilder

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

Protobuf type google.cloud.translation.v3beta1.DeleteGlossaryResponse

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SUBMIT_TIME_FIELD_NUMBER

public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeleteGlossaryResponse getDefaultInstance()
Returns
TypeDescription
DeleteGlossaryResponse

getDescriptor()

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

newBuilder()

public static DeleteGlossaryResponse.Builder newBuilder()
Returns
TypeDescription
DeleteGlossaryResponse.Builder

newBuilder(DeleteGlossaryResponse prototype)

public static DeleteGlossaryResponse.Builder newBuilder(DeleteGlossaryResponse prototype)
Parameter
NameDescription
prototypeDeleteGlossaryResponse
Returns
TypeDescription
DeleteGlossaryResponse.Builder

parseDelimitedFrom(InputStream input)

public static DeleteGlossaryResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteGlossaryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeleteGlossaryResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeleteGlossaryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeleteGlossaryResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeleteGlossaryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeleteGlossaryResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteGlossaryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeleteGlossaryResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteGlossaryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeleteGlossaryResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeleteGlossaryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteGlossaryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeleteGlossaryResponse> parser()
Returns
TypeDescription
Parser<DeleteGlossaryResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DeleteGlossaryResponse getDefaultInstanceForType()
Returns
TypeDescription
DeleteGlossaryResponse

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.

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.

getParserForType()

public Parser<DeleteGlossaryResponse> getParserForType()
Returns
TypeDescription
Parser<DeleteGlossaryResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeleteGlossaryResponse.Builder newBuilderForType()
Returns
TypeDescription
DeleteGlossaryResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeleteGlossaryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeleteGlossaryResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeleteGlossaryResponse.Builder toBuilder()
Returns
TypeDescription
DeleteGlossaryResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException