public final class CreateInstructionMetadata extends GeneratedMessageV3 implements CreateInstructionMetadataOrBuilder
Metadata of a CreateInstruction operation.
Protobuf type google.cloud.datalabeling.v1beta1.CreateInstructionMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INSTRUCTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static CreateInstructionMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CreateInstructionMetadata.Builder newBuilder()
public static CreateInstructionMetadata.Builder newBuilder(CreateInstructionMetadata prototype)
public static CreateInstructionMetadata parseDelimitedFrom(InputStream input)
public static CreateInstructionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateInstructionMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static CreateInstructionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateInstructionMetadata parseFrom(ByteString data)
public static CreateInstructionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateInstructionMetadata parseFrom(CodedInputStream input)
public static CreateInstructionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateInstructionMetadata parseFrom(InputStream input)
public static CreateInstructionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateInstructionMetadata parseFrom(ByteBuffer data)
public static CreateInstructionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CreateInstructionMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Timestamp getCreateTime()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
public CreateInstructionMetadata getDefaultInstanceForType()
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()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
Overrides
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateInstructionMetadata.Builder newBuilderForType()
protected CreateInstructionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public CreateInstructionMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides