Class StreamingExplicitContentDetectionConfig (2.2.0)

public final class StreamingExplicitContentDetectionConfig extends GeneratedMessageV3 implements StreamingExplicitContentDetectionConfigOrBuilder

Config for STREAMING_EXPLICIT_CONTENT_DETECTION.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamingExplicitContentDetectionConfig

Static Methods

getDefaultInstance()

public static StreamingExplicitContentDetectionConfig getDefaultInstance()
Returns
TypeDescription
StreamingExplicitContentDetectionConfig

getDescriptor()

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

newBuilder()

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

newBuilder(StreamingExplicitContentDetectionConfig prototype)

public static StreamingExplicitContentDetectionConfig.Builder newBuilder(StreamingExplicitContentDetectionConfig prototype)
Parameter
NameDescription
prototypeStreamingExplicitContentDetectionConfig
Returns
TypeDescription
StreamingExplicitContentDetectionConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StreamingExplicitContentDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingExplicitContentDetectionConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 StreamingExplicitContentDetectionConfig.Builder newBuilderForType()
Returns
TypeDescription
StreamingExplicitContentDetectionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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