Package org.platanios.tensorflow.proto
Interface Summary.AudioOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Summary.Audio
,Summary.Audio.Builder
- Enclosing class:
- Summary
public static interface Summary.AudioOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getContentType()
string content_type = 5;
com.google.protobuf.ByteString
getContentTypeBytes()
string content_type = 5;
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSampleRate
float getSampleRate()
Sample rate of the audio in Hz.
float sample_rate = 1;
- Returns:
- The sampleRate.
-
getNumChannels
long getNumChannels()
Number of channels of audio.
int64 num_channels = 2;
- Returns:
- The numChannels.
-
getLengthFrames
long getLengthFrames()
Length of the audio in frames (samples per channel).
int64 length_frames = 3;
- Returns:
- The lengthFrames.
-
getEncodedAudioString
com.google.protobuf.ByteString getEncodedAudioString()
Encoded audio data and its associated RFC 2045 content type (e.g. "audio/wav").
bytes encoded_audio_string = 4;
- Returns:
- The encodedAudioString.
-
getContentType
java.lang.String getContentType()
string content_type = 5;
- Returns:
- The contentType.
-
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()
string content_type = 5;
- Returns:
- The bytes for contentType.
-
-