Package org.tensorflow.framework
Class Summary.Audio.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
- org.tensorflow.framework.Summary.Audio.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,Summary.AudioOrBuilder
- Enclosing class:
- Summary.Audio
public static final class Summary.Audio.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder> implements Summary.AudioOrBuilder
Protobuf typetensorflow.Summary.Audio
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Summary.Audio.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Summary.Audio
build()
Summary.Audio
buildPartial()
Summary.Audio.Builder
clear()
Summary.Audio.Builder
clearContentType()
string content_type = 5;
Summary.Audio.Builder
clearEncodedAudioString()
Encoded audio data and its associated RFC 2045 content type (e.g.Summary.Audio.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
Summary.Audio.Builder
clearLengthFrames()
Length of the audio in frames (samples per channel).Summary.Audio.Builder
clearNumChannels()
Number of channels of audio.Summary.Audio.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
Summary.Audio.Builder
clearSampleRate()
Sample rate of the audio in Hz.Summary.Audio.Builder
clone()
String
getContentType()
string content_type = 5;
org.nd4j.shade.protobuf.ByteString
getContentTypeBytes()
string content_type = 5;
Summary.Audio
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
org.nd4j.shade.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.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Summary.Audio.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Summary.Audio.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
Summary.Audio.Builder
mergeFrom(Summary.Audio other)
Summary.Audio.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Summary.Audio.Builder
setContentType(String value)
string content_type = 5;
Summary.Audio.Builder
setContentTypeBytes(org.nd4j.shade.protobuf.ByteString value)
string content_type = 5;
Summary.Audio.Builder
setEncodedAudioString(org.nd4j.shade.protobuf.ByteString value)
Encoded audio data and its associated RFC 2045 content type (e.g.Summary.Audio.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Summary.Audio.Builder
setLengthFrames(long value)
Length of the audio in frames (samples per channel).Summary.Audio.Builder
setNumChannels(long value)
Number of channels of audio.Summary.Audio.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Summary.Audio.Builder
setSampleRate(float value)
Sample rate of the audio in Hz.Summary.Audio.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
clear
public Summary.Audio.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
getDefaultInstanceForType
public Summary.Audio getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Summary.Audio build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Summary.Audio buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Summary.Audio.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
setField
public Summary.Audio.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
clearField
public Summary.Audio.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
clearOneof
public Summary.Audio.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
setRepeatedField
public Summary.Audio.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
addRepeatedField
public Summary.Audio.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
mergeFrom
public Summary.Audio.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Summary.Audio.Builder>
-
mergeFrom
public Summary.Audio.Builder mergeFrom(Summary.Audio other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
mergeFrom
public Summary.Audio.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Summary.Audio.Builder>
- Throws:
IOException
-
getSampleRate
public float getSampleRate()
Sample rate of the audio in Hz.
float sample_rate = 1;
- Specified by:
getSampleRate
in interfaceSummary.AudioOrBuilder
- Returns:
- The sampleRate.
-
setSampleRate
public Summary.Audio.Builder setSampleRate(float value)
Sample rate of the audio in Hz.
float sample_rate = 1;
- Parameters:
value
- The sampleRate to set.- Returns:
- This builder for chaining.
-
clearSampleRate
public Summary.Audio.Builder clearSampleRate()
Sample rate of the audio in Hz.
float sample_rate = 1;
- Returns:
- This builder for chaining.
-
getNumChannels
public long getNumChannels()
Number of channels of audio.
int64 num_channels = 2;
- Specified by:
getNumChannels
in interfaceSummary.AudioOrBuilder
- Returns:
- The numChannels.
-
setNumChannels
public Summary.Audio.Builder setNumChannels(long value)
Number of channels of audio.
int64 num_channels = 2;
- Parameters:
value
- The numChannels to set.- Returns:
- This builder for chaining.
-
clearNumChannels
public Summary.Audio.Builder clearNumChannels()
Number of channels of audio.
int64 num_channels = 2;
- Returns:
- This builder for chaining.
-
getLengthFrames
public long getLengthFrames()
Length of the audio in frames (samples per channel).
int64 length_frames = 3;
- Specified by:
getLengthFrames
in interfaceSummary.AudioOrBuilder
- Returns:
- The lengthFrames.
-
setLengthFrames
public Summary.Audio.Builder setLengthFrames(long value)
Length of the audio in frames (samples per channel).
int64 length_frames = 3;
- Parameters:
value
- The lengthFrames to set.- Returns:
- This builder for chaining.
-
clearLengthFrames
public Summary.Audio.Builder clearLengthFrames()
Length of the audio in frames (samples per channel).
int64 length_frames = 3;
- Returns:
- This builder for chaining.
-
getEncodedAudioString
public org.nd4j.shade.protobuf.ByteString getEncodedAudioString()
Encoded audio data and its associated RFC 2045 content type (e.g. "audio/wav").
bytes encoded_audio_string = 4;
- Specified by:
getEncodedAudioString
in interfaceSummary.AudioOrBuilder
- Returns:
- The encodedAudioString.
-
setEncodedAudioString
public Summary.Audio.Builder setEncodedAudioString(org.nd4j.shade.protobuf.ByteString value)
Encoded audio data and its associated RFC 2045 content type (e.g. "audio/wav").
bytes encoded_audio_string = 4;
- Parameters:
value
- The encodedAudioString to set.- Returns:
- This builder for chaining.
-
clearEncodedAudioString
public Summary.Audio.Builder clearEncodedAudioString()
Encoded audio data and its associated RFC 2045 content type (e.g. "audio/wav").
bytes encoded_audio_string = 4;
- Returns:
- This builder for chaining.
-
getContentType
public String getContentType()
string content_type = 5;
- Specified by:
getContentType
in interfaceSummary.AudioOrBuilder
- Returns:
- The contentType.
-
getContentTypeBytes
public org.nd4j.shade.protobuf.ByteString getContentTypeBytes()
string content_type = 5;
- Specified by:
getContentTypeBytes
in interfaceSummary.AudioOrBuilder
- Returns:
- The bytes for contentType.
-
setContentType
public Summary.Audio.Builder setContentType(String value)
string content_type = 5;
- Parameters:
value
- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
public Summary.Audio.Builder clearContentType()
string content_type = 5;
- Returns:
- This builder for chaining.
-
setContentTypeBytes
public Summary.Audio.Builder setContentTypeBytes(org.nd4j.shade.protobuf.ByteString value)
string content_type = 5;
- Parameters:
value
- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Summary.Audio.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
mergeUnknownFields
public final Summary.Audio.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Summary.Audio.Builder>
-
-