public static final class PdfInstruction.Builder extends GeneratedMessageV3.Builder<PdfInstruction.Builder> implements PdfInstructionOrBuilder
Instruction from a PDF file.
Protobuf type google.cloud.datalabeling.v1beta1.PdfInstruction
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PdfInstruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PdfInstruction build()
buildPartial()
public PdfInstruction buildPartial()
clear()
public PdfInstruction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PdfInstruction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcsFileUri()
public PdfInstruction.Builder clearGcsFileUri()
PDF file for the instruction. Only gcs path is allowed.
string gcs_file_uri = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public PdfInstruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public PdfInstruction.Builder clone()
Overrides
getDefaultInstanceForType()
public PdfInstruction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PdfInstruction other)
public PdfInstruction.Builder mergeFrom(PdfInstruction other)
public PdfInstruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PdfInstruction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PdfInstruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PdfInstruction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcsFileUri(String value)
public PdfInstruction.Builder setGcsFileUri(String value)
PDF file for the instruction. Only gcs path is allowed.
string gcs_file_uri = 1;
Parameter |
Name |
Description |
value |
String
The gcsFileUri to set.
|
setGcsFileUriBytes(ByteString value)
public PdfInstruction.Builder setGcsFileUriBytes(ByteString value)
PDF file for the instruction. Only gcs path is allowed.
string gcs_file_uri = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for gcsFileUri to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PdfInstruction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PdfInstruction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides