public final class CreateGlossaryMetadata extends GeneratedMessageV3 implements CreateGlossaryMetadataOrBuilder
Stored in the
google.longrunning.Operation.metadata
field returned by CreateGlossary.
Protobuf type google.cloud.translation.v3.CreateGlossaryMetadata
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 CreateGlossaryMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateGlossaryMetadata.Builder newBuilder()
Returns
public static CreateGlossaryMetadata.Builder newBuilder(CreateGlossaryMetadata prototype)
Parameter
Returns
public static CreateGlossaryMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateGlossaryMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateGlossaryMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateGlossaryMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CreateGlossaryMetadata getDefaultInstanceForType()
Returns
The name of the glossary that is being created.
string name = 1;
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
The name of the glossary that is being created.
string name = 1;
Returns
public Parser<CreateGlossaryMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public CreateGlossaryMetadata.State getState()
The current state of the glossary creation operation.
.google.cloud.translation.v3.CreateGlossaryMetadata.State state = 2;
Returns
public int getStateValue()
The current state of the glossary creation operation.
.google.cloud.translation.v3.CreateGlossaryMetadata.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 CreateGlossaryMetadata.Builder newBuilderForType()
Returns
protected CreateGlossaryMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateGlossaryMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions