Interface PreprocessingConfig.CropOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PreprocessingConfig.Crop
,PreprocessingConfig.Crop.Builder
- Enclosing class:
- PreprocessingConfig
public static interface PreprocessingConfig.CropOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBottomPixels()
The number of pixels to crop from the bottom.int
getLeftPixels()
The number of pixels to crop from the left.int
getRightPixels()
The number of pixels to crop from the right.int
getTopPixels()
The number of pixels to crop from the top.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTopPixels
int getTopPixels()
The number of pixels to crop from the top. The default is 0.
int32 top_pixels = 1;
- Returns:
- The topPixels.
-
getBottomPixels
int getBottomPixels()
The number of pixels to crop from the bottom. The default is 0.
int32 bottom_pixels = 2;
- Returns:
- The bottomPixels.
-
getLeftPixels
int getLeftPixels()
The number of pixels to crop from the left. The default is 0.
int32 left_pixels = 3;
- Returns:
- The leftPixels.
-
getRightPixels
int getRightPixels()
The number of pixels to crop from the right. The default is 0.
int32 right_pixels = 4;
- Returns:
- The rightPixels.
-
-