public final class CreateInstructionMetadata extends GeneratedMessageV3 implements CreateInstructionMetadataOrBuilder
Metadata of a CreateInstruction operation.
Protobuf type google.cloud.datalabeling.v1beta1.CreateInstructionMetadata
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int INSTRUCTION_FIELD_NUMBER
Field Value
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
Static Methods
public static CreateInstructionMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateInstructionMetadata.Builder newBuilder()
Returns
public static CreateInstructionMetadata.Builder newBuilder(CreateInstructionMetadata prototype)
Parameter
Returns
public static CreateInstructionMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateInstructionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateInstructionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateInstructionMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public CreateInstructionMetadata getDefaultInstanceForType()
Returns
public String getInstruction()
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
string instruction = 1;
Returns
Type | Description |
String | The instruction.
|
public ByteString getInstructionBytes()
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
string instruction = 1;
Returns
Type | Description |
ByteString | The bytes for instruction.
|
public Parser<CreateInstructionMetadata> getParserForType()
Returns
Overrides
public Status getPartialFailures(int index)
Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter
Returns
Type | Description |
com.google.rpc.Status | |
public int getPartialFailuresCount()
Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns
public List<Status> getPartialFailuresList()
Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns
Type | Description |
List<com.google.rpc.Status> | |
public StatusOrBuilder getPartialFailuresOrBuilder(int index)
Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()
Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> | |
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasCreateTime()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateInstructionMetadata.Builder newBuilderForType()
Returns
protected CreateInstructionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateInstructionMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions