Class CreateInstructionMetadata (0.123.3)

public final class CreateInstructionMetadata extends GeneratedMessageV3 implements CreateInstructionMetadataOrBuilder

Metadata of a CreateInstruction operation.

Protobuf type google.cloud.datalabeling.v1beta1.CreateInstructionMetadata

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

INSTRUCTION_FIELD_NUMBER

public static final int INSTRUCTION_FIELD_NUMBER
Field Value
TypeDescription
int

PARTIAL_FAILURES_FIELD_NUMBER

public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateInstructionMetadata getDefaultInstance()
Returns
TypeDescription
CreateInstructionMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateInstructionMetadata.Builder newBuilder()
Returns
TypeDescription
CreateInstructionMetadata.Builder

newBuilder(CreateInstructionMetadata prototype)

public static CreateInstructionMetadata.Builder newBuilder(CreateInstructionMetadata prototype)
Parameter
NameDescription
prototypeCreateInstructionMetadata
Returns
TypeDescription
CreateInstructionMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CreateInstructionMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateInstructionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateInstructionMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateInstructionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateInstructionMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateInstructionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateInstructionMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateInstructionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateInstructionMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateInstructionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateInstructionMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateInstructionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstructionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateInstructionMetadata> parser()
Returns
TypeDescription
Parser<CreateInstructionMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Timestamp when create instruction request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when create instruction request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CreateInstructionMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateInstructionMetadata

getInstruction()

public String getInstruction()

The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}

string instruction = 1;

Returns
TypeDescription
String

The instruction.

getInstructionBytes()

public ByteString getInstructionBytes()

The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}

string instruction = 1;

Returns
TypeDescription
ByteString

The bytes for instruction.

getParserForType()

public Parser<CreateInstructionMetadata> getParserForType()
Returns
TypeDescription
Parser<CreateInstructionMetadata>
Overrides

getPartialFailures(int index)

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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getPartialFailuresCount()

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
TypeDescription
int

getPartialFailuresList()

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
TypeDescription
List<com.google.rpc.Status>

getPartialFailuresOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getPartialFailuresOrBuilderList()

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
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCreateTime()

public boolean hasCreateTime()

Timestamp when create instruction request was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateInstructionMetadata.Builder newBuilderForType()
Returns
TypeDescription
CreateInstructionMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateInstructionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateInstructionMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateInstructionMetadata.Builder toBuilder()
Returns
TypeDescription
CreateInstructionMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException