public static final class OutputConfig.Builder extends GeneratedMessageV3.Builder<OutputConfig.Builder> implements OutputConfigOrBuilder
The configuration of output data.
Protobuf type google.cloud.datalabeling.v1beta1.OutputConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public OutputConfig build()
Returns
buildPartial()
public OutputConfig buildPartial()
Returns
clear()
public OutputConfig.Builder clear()
Returns
Overrides
clearDestination()
public OutputConfig.Builder clearDestination()
Returns
clearField(Descriptors.FieldDescriptor field)
public OutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsDestination()
public OutputConfig.Builder clearGcsDestination()
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Returns
clearGcsFolderDestination()
public OutputConfig.Builder clearGcsFolderDestination()
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public OutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public OutputConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public OutputConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDestinationCase()
public OutputConfig.DestinationCase getDestinationCase()
Returns
getGcsDestination()
public GcsDestination getGcsDestination()
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Returns
getGcsDestinationBuilder()
public GcsDestination.Builder getGcsDestinationBuilder()
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Returns
getGcsDestinationOrBuilder()
public GcsDestinationOrBuilder getGcsDestinationOrBuilder()
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Returns
getGcsFolderDestination()
public GcsFolderDestination getGcsFolderDestination()
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Returns
getGcsFolderDestinationBuilder()
public GcsFolderDestination.Builder getGcsFolderDestinationBuilder()
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Returns
getGcsFolderDestinationOrBuilder()
public GcsFolderDestinationOrBuilder getGcsFolderDestinationOrBuilder()
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Returns
hasGcsDestination()
public boolean hasGcsDestination()
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Returns
Type | Description |
boolean | Whether the gcsDestination field is set.
|
hasGcsFolderDestination()
public boolean hasGcsFolderDestination()
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Returns
Type | Description |
boolean | Whether the gcsFolderDestination field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(OutputConfig other)
public OutputConfig.Builder mergeFrom(OutputConfig other)
Parameter
Returns
public OutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OutputConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGcsDestination(GcsDestination value)
public OutputConfig.Builder mergeGcsDestination(GcsDestination value)
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Parameter
Returns
mergeGcsFolderDestination(GcsFolderDestination value)
public OutputConfig.Builder mergeGcsFolderDestination(GcsFolderDestination value)
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public OutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGcsDestination(GcsDestination value)
public OutputConfig.Builder setGcsDestination(GcsDestination value)
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Parameter
Returns
setGcsDestination(GcsDestination.Builder builderForValue)
public OutputConfig.Builder setGcsDestination(GcsDestination.Builder builderForValue)
Output to a file in Cloud Storage. Should be used for labeling output
other than image segmentation.
.google.cloud.datalabeling.v1beta1.GcsDestination gcs_destination = 1;
Parameter
Returns
setGcsFolderDestination(GcsFolderDestination value)
public OutputConfig.Builder setGcsFolderDestination(GcsFolderDestination value)
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Parameter
Returns
setGcsFolderDestination(GcsFolderDestination.Builder builderForValue)
public OutputConfig.Builder setGcsFolderDestination(GcsFolderDestination.Builder builderForValue)
Output to a folder in Cloud Storage. Should be used for image
segmentation labeling output.
.google.cloud.datalabeling.v1beta1.GcsFolderDestination gcs_folder_destination = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides