public final class DeleteGlossaryMetadata extends GeneratedMessageV3 implements DeleteGlossaryMetadataOrBuilder
Stored in the
google.longrunning.Operation.metadata
field returned by DeleteGlossary.
Protobuf type google.cloud.translation.v3.DeleteGlossaryMetadata
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int STATE_FIELD_NUMBER
Field Value
public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value
Static Methods
public static DeleteGlossaryMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DeleteGlossaryMetadata.Builder newBuilder()
Returns
public static DeleteGlossaryMetadata.Builder newBuilder(DeleteGlossaryMetadata prototype)
Parameter
Returns
public static DeleteGlossaryMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteGlossaryMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeleteGlossaryMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeleteGlossaryMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public DeleteGlossaryMetadata getDefaultInstanceForType()
Returns
The name of the glossary that is being deleted.
string name = 1;
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
The name of the glossary that is being deleted.
string name = 1;
Returns
public Parser<DeleteGlossaryMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public DeleteGlossaryMetadata.State getState()
The current state of the glossary deletion operation.
.google.cloud.translation.v3.DeleteGlossaryMetadata.State state = 2;
Returns
public int getStateValue()
The current state of the glossary deletion operation.
.google.cloud.translation.v3.DeleteGlossaryMetadata.State state = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
public Timestamp getSubmitTime()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 3;
Returns
public TimestampOrBuilder getSubmitTimeOrBuilder()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 3;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasSubmitTime()
The time when the operation was submitted to the server.
.google.protobuf.Timestamp submit_time = 3;
Returns
Type | Description |
boolean | Whether the submitTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeleteGlossaryMetadata.Builder newBuilderForType()
Returns
protected DeleteGlossaryMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DeleteGlossaryMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions