Summary.Audio

public static final class Summary.Audio

Protobuf type tensorflow.Summary.Audio

Nested Classes

class Summary.Audio.Builder Protobuf type tensorflow.Summary.Audio  

Constants

int CONTENT_TYPE_FIELD_NUMBER
int ENCODED_AUDIO_STRING_FIELD_NUMBER
int LENGTH_FRAMES_FIELD_NUMBER
int NUM_CHANNELS_FIELD_NUMBER
int SAMPLE_RATE_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
String
getContentType()
string content_type = 5;
com.google.protobuf.ByteString
getContentTypeBytes()
string content_type = 5;
static Summary.Audio
Summary.Audio
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
getEncodedAudioString()
 Encoded audio data and its associated RFC 2045 content type (e.g.
long
getLengthFrames()
 Length of the audio in frames (samples per channel).
long
getNumChannels()
 Number of channels of audio.
float
getSampleRate()
 Sample rate of the audio in Hz.
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static Summary.Audio.Builder
static Summary.Audio.Builder
Summary.Audio.Builder
static Summary.Audio
parseDelimitedFrom(InputStream input)
static Summary.Audio
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Audio
parseFrom(ByteBuffer data)
static Summary.Audio
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Audio
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Audio
parseFrom(com.google.protobuf.CodedInputStream input)
static Summary.Audio
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Audio
parseFrom(com.google.protobuf.ByteString data)
static Summary.Audio
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Audio
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
Summary.Audio.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int CONTENT_TYPE_FIELD_NUMBER

Constant Value: 5

public static final int ENCODED_AUDIO_STRING_FIELD_NUMBER

Constant Value: 4

public static final int LENGTH_FRAMES_FIELD_NUMBER

Constant Value: 3

public static final int NUM_CHANNELS_FIELD_NUMBER

Constant Value: 2

public static final int SAMPLE_RATE_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public String getContentType ()

string content_type = 5;

public com.google.protobuf.ByteString getContentTypeBytes ()

string content_type = 5;

public static Summary.Audio getDefaultInstance ()

public Summary.Audio getDefaultInstanceForType ()

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

public com.google.protobuf.ByteString getEncodedAudioString ()

 Encoded audio data and its associated RFC 2045 content type (e.g.
 "audio/wav").
 
bytes encoded_audio_string = 4;

public long getLengthFrames ()

 Length of the audio in frames (samples per channel).
 
int64 length_frames = 3;

public long getNumChannels ()

 Number of channels of audio.
 
int64 num_channels = 2;

public getParserForType ()

public float getSampleRate ()

 Sample rate of the audio in Hz.
 
float sample_rate = 1;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static Summary.Audio.Builder newBuilder (Summary.Audio prototype)

public static Summary.Audio.Builder newBuilder ()

public Summary.Audio.Builder newBuilderForType ()

public static Summary.Audio parseDelimitedFrom (InputStream input)

Throws
IOException

public static Summary.Audio parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static Summary.Audio parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static Summary.Audio parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static Summary.Audio parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static Summary.Audio parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static Summary.Audio parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static Summary.Audio parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static Summary.Audio parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static Summary.Audio parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public Summary.Audio.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException