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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PdfInstruction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PdfInstruction build()
Returns
buildPartial()
public PdfInstruction buildPartial()
Returns
clear()
public PdfInstruction.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PdfInstruction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsFileUri()
public PdfInstruction.Builder clearGcsFileUri()
PDF file for the instruction. Only gcs path is allowed.
string gcs_file_uri = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public PdfInstruction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public PdfInstruction.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PdfInstruction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PdfInstruction other)
public PdfInstruction.Builder mergeFrom(PdfInstruction other)
Parameter
Returns
public PdfInstruction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PdfInstruction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PdfInstruction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PdfInstruction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PdfInstruction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PdfInstruction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides