Class ListInstructionsResponse (0.159.0)

public final class ListInstructionsResponse extends GeneratedMessageV3 implements ListInstructionsResponseOrBuilder

Results of listing instructions under a project.

Protobuf type google.cloud.datalabeling.v1beta1.ListInstructionsResponse

Static Fields

INSTRUCTIONS_FIELD_NUMBER

public static final int INSTRUCTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListInstructionsResponse getDefaultInstance()
Returns
TypeDescription
ListInstructionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListInstructionsResponse prototype)

public static ListInstructionsResponse.Builder newBuilder(ListInstructionsResponse prototype)
Parameter
NameDescription
prototypeListInstructionsResponse
Returns
TypeDescription
ListInstructionsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListInstructionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInstructionsResponse

getInstructions(int index)

public Instruction getInstructions(int index)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instruction

getInstructionsCount()

public int getInstructionsCount()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
int

getInstructionsList()

public List<Instruction> getInstructionsList()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
List<Instruction>

getInstructionsOrBuilder(int index)

public InstructionOrBuilder getInstructionsOrBuilder(int index)

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstructionOrBuilder

getInstructionsOrBuilderList()

public List<? extends InstructionOrBuilder> getInstructionsOrBuilderList()

The list of Instructions to return.

repeated .google.cloud.datalabeling.v1beta1.Instruction instructions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.InstructionOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListInstructionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListInstructionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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