Summary.Image.Builder

public static final class Summary.Image.Builder

Protobuf type tensorflow.Summary.Image

Public Methods

Summary.Image.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Summary.Image
build()
Summary.Image
Summary.Image.Builder
clear()
Summary.Image.Builder
clearColorspace()
 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;
Summary.Image.Builder
clearEncodedImageString()
 Image data in encoded format.
Summary.Image.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Summary.Image.Builder
clearHeight()
 Dimensions of the image.
Summary.Image.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Summary.Image.Builder
clearWidth()
int32 width = 2;
Summary.Image.Builder
clone()
int
getColorspace()
 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;
Summary.Image
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
getEncodedImageString()
 Image data in encoded format.
int
getHeight()
 Dimensions of the image.
int
getWidth()
int32 width = 2;
final boolean
Summary.Image.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Summary.Image.Builder
mergeFrom(com.google.protobuf.Message other)
final Summary.Image.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Summary.Image.Builder
setColorspace(int value)
 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;
Summary.Image.Builder
setEncodedImageString(com.google.protobuf.ByteString value)
 Image data in encoded format.
Summary.Image.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Summary.Image.Builder
setHeight(int value)
 Dimensions of the image.
Summary.Image.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final Summary.Image.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Summary.Image.Builder
setWidth(int value)
int32 width = 2;

Inherited Methods

Public Methods

public Summary.Image.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public Summary.Image build ()

public Summary.Image buildPartial ()

public Summary.Image.Builder clear ()

public Summary.Image.Builder clearColorspace ()

 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;

public Summary.Image.Builder clearEncodedImageString ()

 Image data in encoded format.  All image formats supported by
 image_codec::CoderUtil can be stored here.
 
bytes encoded_image_string = 4;

public Summary.Image.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public Summary.Image.Builder clearHeight ()

 Dimensions of the image.
 
int32 height = 1;

public Summary.Image.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public Summary.Image.Builder clearWidth ()

int32 width = 2;

public Summary.Image.Builder clone ()

public int getColorspace ()

 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;

public Summary.Image getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public com.google.protobuf.ByteString getEncodedImageString ()

 Image data in encoded format.  All image formats supported by
 image_codec::CoderUtil can be stored here.
 
bytes encoded_image_string = 4;

public int getHeight ()

 Dimensions of the image.
 
int32 height = 1;

public int getWidth ()

int32 width = 2;

public final boolean isInitialized ()

public Summary.Image.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public Summary.Image.Builder mergeFrom (com.google.protobuf.Message other)

public final Summary.Image.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public Summary.Image.Builder setColorspace (int value)

 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;

public Summary.Image.Builder setEncodedImageString (com.google.protobuf.ByteString value)

 Image data in encoded format.  All image formats supported by
 image_codec::CoderUtil can be stored here.
 
bytes encoded_image_string = 4;

public Summary.Image.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public Summary.Image.Builder setHeight (int value)

 Dimensions of the image.
 
int32 height = 1;

public Summary.Image.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final Summary.Image.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public Summary.Image.Builder setWidth (int value)

int32 width = 2;