public final class PdfInstruction extends GeneratedMessageV3 implements PdfInstructionOrBuilder
Instruction from a PDF file.
Protobuf type google.cloud.datalabeling.v1beta1.PdfInstruction
Static Fields
GCS_FILE_URI_FIELD_NUMBER
public static final int GCS_FILE_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PdfInstruction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PdfInstruction.Builder newBuilder()
Returns
newBuilder(PdfInstruction prototype)
public static PdfInstruction.Builder newBuilder(PdfInstruction prototype)
Parameter
Returns
public static PdfInstruction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PdfInstruction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PdfInstruction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PdfInstruction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PdfInstruction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PdfInstruction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PdfInstruction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PdfInstruction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PdfInstruction parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PdfInstruction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PdfInstruction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PdfInstruction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PdfInstruction> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PdfInstruction getDefaultInstanceForType()
Returns
getGcsFileUri()
public String getGcsFileUri()
PDF file for the instruction. Only gcs path is allowed.
string gcs_file_uri = 1;
Returns
Type | Description |
String | The gcsFileUri.
|
getGcsFileUriBytes()
public ByteString getGcsFileUriBytes()
PDF file for the instruction. Only gcs path is allowed.
string gcs_file_uri = 1;
Returns
Type | Description |
ByteString | The bytes for gcsFileUri.
|
getParserForType()
public Parser<PdfInstruction> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PdfInstruction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PdfInstruction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PdfInstruction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions