Class PreprocessingConfig (0.5.8)

public final class PreprocessingConfig extends GeneratedMessageV3 implements PreprocessingConfigOrBuilder

Preprocessing configurations.

Protobuf type google.cloud.video.livestream.v1.PreprocessingConfig

Static Fields

CROP_FIELD_NUMBER

public static final int CROP_FIELD_NUMBER
Field Value
TypeDescription
int

PAD_FIELD_NUMBER

public static final int PAD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreprocessingConfig getDefaultInstance()
Returns
TypeDescription
PreprocessingConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PreprocessingConfig.Builder newBuilder()
Returns
TypeDescription
PreprocessingConfig.Builder

newBuilder(PreprocessingConfig prototype)

public static PreprocessingConfig.Builder newBuilder(PreprocessingConfig prototype)
Parameter
NameDescription
prototypePreprocessingConfig
Returns
TypeDescription
PreprocessingConfig.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PreprocessingConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PreprocessingConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PreprocessingConfig> parser()
Returns
TypeDescription
Parser<PreprocessingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCrop()

public PreprocessingConfig.Crop getCrop()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
TypeDescription
PreprocessingConfig.Crop

The crop.

getCropOrBuilder()

public PreprocessingConfig.CropOrBuilder getCropOrBuilder()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
TypeDescription
PreprocessingConfig.CropOrBuilder

getDefaultInstanceForType()

public PreprocessingConfig getDefaultInstanceForType()
Returns
TypeDescription
PreprocessingConfig

getPad()

public PreprocessingConfig.Pad getPad()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
TypeDescription
PreprocessingConfig.Pad

The pad.

getPadOrBuilder()

public PreprocessingConfig.PadOrBuilder getPadOrBuilder()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
TypeDescription
PreprocessingConfig.PadOrBuilder

getParserForType()

public Parser<PreprocessingConfig> getParserForType()
Returns
TypeDescription
Parser<PreprocessingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCrop()

public boolean hasCrop()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
TypeDescription
boolean

Whether the crop field is set.

hasPad()

public boolean hasPad()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
TypeDescription
boolean

Whether the pad field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Builder newBuilderForType()
Returns
TypeDescription
PreprocessingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PreprocessingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PreprocessingConfig.Builder toBuilder()
Returns
TypeDescription
PreprocessingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException