Send feedback
Class CreateInstructionMetadata (0.153.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.153.0 keyboard_arrow_down
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)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]