Send feedback
Class CreateInstructionMetadata (0.122.11)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.122.11 keyboard_arrow_down
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
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-28 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-28 UTC."],[],[]]