// Generated by the protocol buffer compiler. DO NOT EDIT! // source: cmvr/api/microphone_command.proto package cmvr.api; public final class MicrophoneCommand { private MicrophoneCommand() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } public interface MicStateOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.MicState) com.google.protobuf.MessageOrBuilder { /** * bool is_initialized = 1; * @return The isInitialized. */ boolean getIsInitialized(); /** * bool is_running = 2; * @return The isRunning. */ boolean getIsRunning(); /** * bool is_recording = 3; * @return The isRecording. */ boolean getIsRecording(); /** * int32 volume = 4; * @return The volume. */ int getVolume(); /** * string error_message = 5; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** * string error_message = 5; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); } /** * Protobuf type {@code cmvr.api.MicState} */ public static final class MicState extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.MicState) MicStateOrBuilder { private static final long serialVersionUID = 0L; // Use MicState.newBuilder() to construct. private MicState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MicState() { errorMessage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MicState(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_MicState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_MicState_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.MicState.class, cmvr.api.MicrophoneCommand.MicState.Builder.class); } public static final int IS_INITIALIZED_FIELD_NUMBER = 1; private boolean isInitialized_; /** * bool is_initialized = 1; * @return The isInitialized. */ @java.lang.Override public boolean getIsInitialized() { return isInitialized_; } public static final int IS_RUNNING_FIELD_NUMBER = 2; private boolean isRunning_; /** * bool is_running = 2; * @return The isRunning. */ @java.lang.Override public boolean getIsRunning() { return isRunning_; } public static final int IS_RECORDING_FIELD_NUMBER = 3; private boolean isRecording_; /** * bool is_recording = 3; * @return The isRecording. */ @java.lang.Override public boolean getIsRecording() { return isRecording_; } public static final int VOLUME_FIELD_NUMBER = 4; private int volume_; /** * int32 volume = 4; * @return The volume. */ @java.lang.Override public int getVolume() { return volume_; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object errorMessage_; /** * string error_message = 5; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** * string error_message = 5; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (isInitialized_ != false) { output.writeBool(1, isInitialized_); } if (isRunning_ != false) { output.writeBool(2, isRunning_); } if (isRecording_ != false) { output.writeBool(3, isRecording_); } if (volume_ != 0) { output.writeInt32(4, volume_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, errorMessage_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (isInitialized_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, isInitialized_); } if (isRunning_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isRunning_); } if (isRecording_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isRecording_); } if (volume_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, volume_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, errorMessage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.MicState)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.MicState other = (cmvr.api.MicrophoneCommand.MicState) obj; if (getIsInitialized() != other.getIsInitialized()) return false; if (getIsRunning() != other.getIsRunning()) return false; if (getIsRecording() != other.getIsRecording()) return false; if (getVolume() != other.getVolume()) return false; if (!getErrorMessage() .equals(other.getErrorMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + IS_INITIALIZED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsInitialized()); hash = (37 * hash) + IS_RUNNING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsRunning()); hash = (37 * hash) + IS_RECORDING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsRecording()); hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume(); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.MicState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.MicState parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.MicState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.MicState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.MicState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.MicState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.MicState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.MicState parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.MicState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.MicState parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.MicState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.MicState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.MicState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.MicState} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.MicState) cmvr.api.MicrophoneCommand.MicStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_MicState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_MicState_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.MicState.class, cmvr.api.MicrophoneCommand.MicState.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.MicState.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); isInitialized_ = false; isRunning_ = false; isRecording_ = false; volume_ = 0; errorMessage_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_MicState_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.MicState getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.MicState.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.MicState build() { cmvr.api.MicrophoneCommand.MicState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.MicState buildPartial() { cmvr.api.MicrophoneCommand.MicState result = new cmvr.api.MicrophoneCommand.MicState(this); result.isInitialized_ = isInitialized_; result.isRunning_ = isRunning_; result.isRecording_ = isRecording_; result.volume_ = volume_; result.errorMessage_ = errorMessage_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.MicState) { return mergeFrom((cmvr.api.MicrophoneCommand.MicState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.MicState other) { if (other == cmvr.api.MicrophoneCommand.MicState.getDefaultInstance()) return this; if (other.getIsInitialized() != false) { setIsInitialized(other.getIsInitialized()); } if (other.getIsRunning() != false) { setIsRunning(other.getIsRunning()); } if (other.getIsRecording() != false) { setIsRecording(other.getIsRecording()); } if (other.getVolume() != 0) { setVolume(other.getVolume()); } if (!other.getErrorMessage().isEmpty()) { errorMessage_ = other.errorMessage_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { isInitialized_ = input.readBool(); break; } // case 8 case 16: { isRunning_ = input.readBool(); break; } // case 16 case 24: { isRecording_ = input.readBool(); break; } // case 24 case 32: { volume_ = input.readInt32(); break; } // case 32 case 42: { errorMessage_ = input.readStringRequireUtf8(); break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private boolean isInitialized_ ; /** * bool is_initialized = 1; * @return The isInitialized. */ @java.lang.Override public boolean getIsInitialized() { return isInitialized_; } /** * bool is_initialized = 1; * @param value The isInitialized to set. * @return This builder for chaining. */ public Builder setIsInitialized(boolean value) { isInitialized_ = value; onChanged(); return this; } /** * bool is_initialized = 1; * @return This builder for chaining. */ public Builder clearIsInitialized() { isInitialized_ = false; onChanged(); return this; } private boolean isRunning_ ; /** * bool is_running = 2; * @return The isRunning. */ @java.lang.Override public boolean getIsRunning() { return isRunning_; } /** * bool is_running = 2; * @param value The isRunning to set. * @return This builder for chaining. */ public Builder setIsRunning(boolean value) { isRunning_ = value; onChanged(); return this; } /** * bool is_running = 2; * @return This builder for chaining. */ public Builder clearIsRunning() { isRunning_ = false; onChanged(); return this; } private boolean isRecording_ ; /** * bool is_recording = 3; * @return The isRecording. */ @java.lang.Override public boolean getIsRecording() { return isRecording_; } /** * bool is_recording = 3; * @param value The isRecording to set. * @return This builder for chaining. */ public Builder setIsRecording(boolean value) { isRecording_ = value; onChanged(); return this; } /** * bool is_recording = 3; * @return This builder for chaining. */ public Builder clearIsRecording() { isRecording_ = false; onChanged(); return this; } private int volume_ ; /** * int32 volume = 4; * @return The volume. */ @java.lang.Override public int getVolume() { return volume_; } /** * int32 volume = 4; * @param value The volume to set. * @return This builder for chaining. */ public Builder setVolume(int value) { volume_ = value; onChanged(); return this; } /** * int32 volume = 4; * @return This builder for chaining. */ public Builder clearVolume() { volume_ = 0; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** * string error_message = 5; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** * string error_message = 5; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string error_message = 5; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; onChanged(); return this; } /** * string error_message = 5; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** * string error_message = 5; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.MicState) } // @@protoc_insertion_point(class_scope:cmvr.api.MicState) private static final cmvr.api.MicrophoneCommand.MicState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.MicState(); } public static cmvr.api.MicrophoneCommand.MicState getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MicState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.MicState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMicStateCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.GetMicStateCommand) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cmvr.api.GetMicStateCommand} */ public static final class GetMicStateCommand extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.GetMicStateCommand) GetMicStateCommandOrBuilder { private static final long serialVersionUID = 0L; // Use GetMicStateCommand.newBuilder() to construct. private GetMicStateCommand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetMicStateCommand() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetMicStateCommand(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicStateCommand.class, cmvr.api.MicrophoneCommand.GetMicStateCommand.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.GetMicStateCommand.Request) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Request getHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; */ cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.GetMicStateCommand.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.GetMicStateCommand.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicStateCommand.Request.class, cmvr.api.MicrophoneCommand.GetMicStateCommand.Request.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Request header_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Request getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Request header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.GetMicStateCommand.Request)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.GetMicStateCommand.Request other = (cmvr.api.MicrophoneCommand.GetMicStateCommand.Request) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.GetMicStateCommand.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.GetMicStateCommand.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.GetMicStateCommand.Request) cmvr.api.MicrophoneCommand.GetMicStateCommand.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicStateCommand.Request.class, cmvr.api.MicrophoneCommand.GetMicStateCommand.Request.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.GetMicStateCommand.Request.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Request_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Request getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.GetMicStateCommand.Request.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Request build() { cmvr.api.MicrophoneCommand.GetMicStateCommand.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Request buildPartial() { cmvr.api.MicrophoneCommand.GetMicStateCommand.Request result = new cmvr.api.MicrophoneCommand.GetMicStateCommand.Request(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.GetMicStateCommand.Request) { return mergeFrom((cmvr.api.MicrophoneCommand.GetMicStateCommand.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.GetMicStateCommand.Request other) { if (other == cmvr.api.MicrophoneCommand.GetMicStateCommand.Request.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Request header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Request getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Request.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Request.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.Request.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Request header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.GetMicStateCommand.Request) } // @@protoc_insertion_point(class_scope:cmvr.api.GetMicStateCommand.Request) private static final cmvr.api.MicrophoneCommand.GetMicStateCommand.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.GetMicStateCommand.Request(); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.GetMicStateCommand.Feedback) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Feedback getHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; */ cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder(); /** * .cmvr.api.MicState state = 2; * @return Whether the state field is set. */ boolean hasState(); /** * .cmvr.api.MicState state = 2; * @return The state. */ cmvr.api.MicrophoneCommand.MicState getState(); /** * .cmvr.api.MicState state = 2; */ cmvr.api.MicrophoneCommand.MicStateOrBuilder getStateOrBuilder(); } /** * Protobuf type {@code cmvr.api.GetMicStateCommand.Feedback} */ public static final class Feedback extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.GetMicStateCommand.Feedback) FeedbackOrBuilder { private static final long serialVersionUID = 0L; // Use Feedback.newBuilder() to construct. private Feedback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Feedback() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Feedback(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback.class, cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Feedback header_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Feedback getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int STATE_FIELD_NUMBER = 2; private cmvr.api.MicrophoneCommand.MicState state_; /** * .cmvr.api.MicState state = 2; * @return Whether the state field is set. */ @java.lang.Override public boolean hasState() { return state_ != null; } /** * .cmvr.api.MicState state = 2; * @return The state. */ @java.lang.Override public cmvr.api.MicrophoneCommand.MicState getState() { return state_ == null ? cmvr.api.MicrophoneCommand.MicState.getDefaultInstance() : state_; } /** * .cmvr.api.MicState state = 2; */ @java.lang.Override public cmvr.api.MicrophoneCommand.MicStateOrBuilder getStateOrBuilder() { return getState(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } if (state_ != null) { output.writeMessage(2, getState()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (state_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getState()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback other = (cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (hasState() != other.hasState()) return false; if (hasState()) { if (!getState() .equals(other.getState())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.GetMicStateCommand.Feedback} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.GetMicStateCommand.Feedback) cmvr.api.MicrophoneCommand.GetMicStateCommand.FeedbackOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback.class, cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } if (stateBuilder_ == null) { state_ = null; } else { state_ = null; stateBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_Feedback_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback build() { cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback buildPartial() { cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback result = new cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (stateBuilder_ == null) { result.state_ = state_; } else { result.state_ = stateBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback) { return mergeFrom((cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback other) { if (other == cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.hasState()) { mergeState(other.getState()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 case 18: { input.readMessage( getStateFieldBuilder().getBuilder(), extensionRegistry); break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Feedback header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Feedback getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Feedback.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Feedback.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.Feedback.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private cmvr.api.MicrophoneCommand.MicState state_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.MicrophoneCommand.MicState, cmvr.api.MicrophoneCommand.MicState.Builder, cmvr.api.MicrophoneCommand.MicStateOrBuilder> stateBuilder_; /** * .cmvr.api.MicState state = 2; * @return Whether the state field is set. */ public boolean hasState() { return stateBuilder_ != null || state_ != null; } /** * .cmvr.api.MicState state = 2; * @return The state. */ public cmvr.api.MicrophoneCommand.MicState getState() { if (stateBuilder_ == null) { return state_ == null ? cmvr.api.MicrophoneCommand.MicState.getDefaultInstance() : state_; } else { return stateBuilder_.getMessage(); } } /** * .cmvr.api.MicState state = 2; */ public Builder setState(cmvr.api.MicrophoneCommand.MicState value) { if (stateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } state_ = value; onChanged(); } else { stateBuilder_.setMessage(value); } return this; } /** * .cmvr.api.MicState state = 2; */ public Builder setState( cmvr.api.MicrophoneCommand.MicState.Builder builderForValue) { if (stateBuilder_ == null) { state_ = builderForValue.build(); onChanged(); } else { stateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.MicState state = 2; */ public Builder mergeState(cmvr.api.MicrophoneCommand.MicState value) { if (stateBuilder_ == null) { if (state_ != null) { state_ = cmvr.api.MicrophoneCommand.MicState.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.MicState state = 2; */ public Builder clearState() { if (stateBuilder_ == null) { state_ = null; onChanged(); } else { state_ = null; stateBuilder_ = null; } return this; } /** * .cmvr.api.MicState state = 2; */ public cmvr.api.MicrophoneCommand.MicState.Builder getStateBuilder() { onChanged(); return getStateFieldBuilder().getBuilder(); } /** * .cmvr.api.MicState state = 2; */ public cmvr.api.MicrophoneCommand.MicStateOrBuilder getStateOrBuilder() { if (stateBuilder_ != null) { return stateBuilder_.getMessageOrBuilder(); } else { return state_ == null ? cmvr.api.MicrophoneCommand.MicState.getDefaultInstance() : state_; } } /** * .cmvr.api.MicState state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.MicrophoneCommand.MicState, cmvr.api.MicrophoneCommand.MicState.Builder, cmvr.api.MicrophoneCommand.MicStateOrBuilder> getStateFieldBuilder() { if (stateBuilder_ == null) { stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.MicrophoneCommand.MicState, cmvr.api.MicrophoneCommand.MicState.Builder, cmvr.api.MicrophoneCommand.MicStateOrBuilder>( getState(), getParentForChildren(), isClean()); state_ = null; } return stateBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.GetMicStateCommand.Feedback) } // @@protoc_insertion_point(class_scope:cmvr.api.GetMicStateCommand.Feedback) private static final cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback(); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Feedback parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand.Feedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.GetMicStateCommand)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.GetMicStateCommand other = (cmvr.api.MicrophoneCommand.GetMicStateCommand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.GetMicStateCommand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.GetMicStateCommand} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.GetMicStateCommand) cmvr.api.MicrophoneCommand.GetMicStateCommandOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicStateCommand.class, cmvr.api.MicrophoneCommand.GetMicStateCommand.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.GetMicStateCommand.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicStateCommand_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.GetMicStateCommand.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand build() { cmvr.api.MicrophoneCommand.GetMicStateCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand buildPartial() { cmvr.api.MicrophoneCommand.GetMicStateCommand result = new cmvr.api.MicrophoneCommand.GetMicStateCommand(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.GetMicStateCommand) { return mergeFrom((cmvr.api.MicrophoneCommand.GetMicStateCommand)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.GetMicStateCommand other) { if (other == cmvr.api.MicrophoneCommand.GetMicStateCommand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.GetMicStateCommand) } // @@protoc_insertion_point(class_scope:cmvr.api.GetMicStateCommand) private static final cmvr.api.MicrophoneCommand.GetMicStateCommand DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.GetMicStateCommand(); } public static cmvr.api.MicrophoneCommand.GetMicStateCommand getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetMicStateCommand parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicStateCommand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StartMicRecordingCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.StartMicRecordingCommand) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cmvr.api.StartMicRecordingCommand} */ public static final class StartMicRecordingCommand extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.StartMicRecordingCommand) StartMicRecordingCommandOrBuilder { private static final long serialVersionUID = 0L; // Use StartMicRecordingCommand.newBuilder() to construct. private StartMicRecordingCommand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StartMicRecordingCommand() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StartMicRecordingCommand(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StartMicRecordingCommand.class, cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.StartMicRecordingCommand.Request) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Request getHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; */ cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder(); /** * string file_path = 2; * @return The filePath. */ java.lang.String getFilePath(); /** * string file_path = 2; * @return The bytes for filePath. */ com.google.protobuf.ByteString getFilePathBytes(); } /** * Protobuf type {@code cmvr.api.StartMicRecordingCommand.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.StartMicRecordingCommand.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Request header_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Request getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Request header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int FILE_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object filePath_; /** * string file_path = 2; * @return The filePath. */ @java.lang.Override public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** * string file_path = 2; * @return The bytes for filePath. */ @java.lang.Override public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filePath_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filePath_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request other = (cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getFilePath() .equals(other.getFilePath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (37 * hash) + FILE_PATH_FIELD_NUMBER; hash = (53 * hash) + getFilePath().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.StartMicRecordingCommand.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.StartMicRecordingCommand.Request) cmvr.api.MicrophoneCommand.StartMicRecordingCommand.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } filePath_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Request_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request build() { cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request buildPartial() { cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request result = new cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } result.filePath_ = filePath_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request) { return mergeFrom((cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request other) { if (other == cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (!other.getFilePath().isEmpty()) { filePath_ = other.filePath_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 case 18: { filePath_ = input.readStringRequireUtf8(); break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Request header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Request getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Request.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Request.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.Request.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Request header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private java.lang.Object filePath_ = ""; /** * string file_path = 2; * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } else { return (java.lang.String) ref; } } /** * string file_path = 2; * @return The bytes for filePath. */ public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string file_path = 2; * @param value The filePath to set. * @return This builder for chaining. */ public Builder setFilePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filePath_ = value; onChanged(); return this; } /** * string file_path = 2; * @return This builder for chaining. */ public Builder clearFilePath() { filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** * string file_path = 2; * @param value The bytes for filePath to set. * @return This builder for chaining. */ public Builder setFilePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filePath_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.StartMicRecordingCommand.Request) } // @@protoc_insertion_point(class_scope:cmvr.api.StartMicRecordingCommand.Request) private static final cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request(); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.StartMicRecordingCommand.Feedback) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Feedback getHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; */ cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.StartMicRecordingCommand.Feedback} */ public static final class Feedback extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.StartMicRecordingCommand.Feedback) FeedbackOrBuilder { private static final long serialVersionUID = 0L; // Use Feedback.newBuilder() to construct. private Feedback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Feedback() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Feedback(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Feedback header_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Feedback getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback other = (cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.StartMicRecordingCommand.Feedback} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.StartMicRecordingCommand.Feedback) cmvr.api.MicrophoneCommand.StartMicRecordingCommand.FeedbackOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_Feedback_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback build() { cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback buildPartial() { cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback result = new cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback) { return mergeFrom((cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback other) { if (other == cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Feedback header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Feedback getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Feedback.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Feedback.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.Feedback.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.StartMicRecordingCommand.Feedback) } // @@protoc_insertion_point(class_scope:cmvr.api.StartMicRecordingCommand.Feedback) private static final cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback(); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Feedback parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Feedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.StartMicRecordingCommand)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.StartMicRecordingCommand other = (cmvr.api.MicrophoneCommand.StartMicRecordingCommand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.StartMicRecordingCommand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.StartMicRecordingCommand} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.StartMicRecordingCommand) cmvr.api.MicrophoneCommand.StartMicRecordingCommandOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StartMicRecordingCommand.class, cmvr.api.MicrophoneCommand.StartMicRecordingCommand.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.StartMicRecordingCommand.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StartMicRecordingCommand_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.StartMicRecordingCommand.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand build() { cmvr.api.MicrophoneCommand.StartMicRecordingCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand buildPartial() { cmvr.api.MicrophoneCommand.StartMicRecordingCommand result = new cmvr.api.MicrophoneCommand.StartMicRecordingCommand(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.StartMicRecordingCommand) { return mergeFrom((cmvr.api.MicrophoneCommand.StartMicRecordingCommand)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.StartMicRecordingCommand other) { if (other == cmvr.api.MicrophoneCommand.StartMicRecordingCommand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.StartMicRecordingCommand) } // @@protoc_insertion_point(class_scope:cmvr.api.StartMicRecordingCommand) private static final cmvr.api.MicrophoneCommand.StartMicRecordingCommand DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.StartMicRecordingCommand(); } public static cmvr.api.MicrophoneCommand.StartMicRecordingCommand getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StartMicRecordingCommand parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.StartMicRecordingCommand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StopMicRecordingCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.StopMicRecordingCommand) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cmvr.api.StopMicRecordingCommand} */ public static final class StopMicRecordingCommand extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.StopMicRecordingCommand) StopMicRecordingCommandOrBuilder { private static final long serialVersionUID = 0L; // Use StopMicRecordingCommand.newBuilder() to construct. private StopMicRecordingCommand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StopMicRecordingCommand() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StopMicRecordingCommand(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StopMicRecordingCommand.class, cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.StopMicRecordingCommand.Request) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Request getHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; */ cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.StopMicRecordingCommand.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.StopMicRecordingCommand.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Request header_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Request getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Request header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request other = (cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.StopMicRecordingCommand.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.StopMicRecordingCommand.Request) cmvr.api.MicrophoneCommand.StopMicRecordingCommand.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Request_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request build() { cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request buildPartial() { cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request result = new cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request) { return mergeFrom((cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request other) { if (other == cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Request header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Request getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Request.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Request.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.Request.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Request header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.StopMicRecordingCommand.Request) } // @@protoc_insertion_point(class_scope:cmvr.api.StopMicRecordingCommand.Request) private static final cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request(); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.StopMicRecordingCommand.Feedback) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Feedback getHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; */ cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.StopMicRecordingCommand.Feedback} */ public static final class Feedback extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.StopMicRecordingCommand.Feedback) FeedbackOrBuilder { private static final long serialVersionUID = 0L; // Use Feedback.newBuilder() to construct. private Feedback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Feedback() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Feedback(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Feedback header_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Feedback getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback other = (cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.StopMicRecordingCommand.Feedback} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.StopMicRecordingCommand.Feedback) cmvr.api.MicrophoneCommand.StopMicRecordingCommand.FeedbackOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_Feedback_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback build() { cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback buildPartial() { cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback result = new cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback) { return mergeFrom((cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback other) { if (other == cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Feedback header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Feedback getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Feedback.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Feedback.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.Feedback.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.StopMicRecordingCommand.Feedback) } // @@protoc_insertion_point(class_scope:cmvr.api.StopMicRecordingCommand.Feedback) private static final cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback(); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Feedback parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Feedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.StopMicRecordingCommand)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.StopMicRecordingCommand other = (cmvr.api.MicrophoneCommand.StopMicRecordingCommand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.StopMicRecordingCommand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.StopMicRecordingCommand} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.StopMicRecordingCommand) cmvr.api.MicrophoneCommand.StopMicRecordingCommandOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.StopMicRecordingCommand.class, cmvr.api.MicrophoneCommand.StopMicRecordingCommand.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.StopMicRecordingCommand.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_StopMicRecordingCommand_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.StopMicRecordingCommand.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand build() { cmvr.api.MicrophoneCommand.StopMicRecordingCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand buildPartial() { cmvr.api.MicrophoneCommand.StopMicRecordingCommand result = new cmvr.api.MicrophoneCommand.StopMicRecordingCommand(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.StopMicRecordingCommand) { return mergeFrom((cmvr.api.MicrophoneCommand.StopMicRecordingCommand)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.StopMicRecordingCommand other) { if (other == cmvr.api.MicrophoneCommand.StopMicRecordingCommand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.StopMicRecordingCommand) } // @@protoc_insertion_point(class_scope:cmvr.api.StopMicRecordingCommand) private static final cmvr.api.MicrophoneCommand.StopMicRecordingCommand DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.StopMicRecordingCommand(); } public static cmvr.api.MicrophoneCommand.StopMicRecordingCommand getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StopMicRecordingCommand parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.StopMicRecordingCommand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PauseMicRecordingCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.PauseMicRecordingCommand) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cmvr.api.PauseMicRecordingCommand} */ public static final class PauseMicRecordingCommand extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.PauseMicRecordingCommand) PauseMicRecordingCommandOrBuilder { private static final long serialVersionUID = 0L; // Use PauseMicRecordingCommand.newBuilder() to construct. private PauseMicRecordingCommand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PauseMicRecordingCommand() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PauseMicRecordingCommand(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.class, cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.PauseMicRecordingCommand.Request) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Request getHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; */ cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.PauseMicRecordingCommand.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.PauseMicRecordingCommand.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Request header_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Request getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Request header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request other = (cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.PauseMicRecordingCommand.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.PauseMicRecordingCommand.Request) cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Request_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request build() { cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request buildPartial() { cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request result = new cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request) { return mergeFrom((cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request other) { if (other == cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Request header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Request getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Request.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Request.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.Request.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Request header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.PauseMicRecordingCommand.Request) } // @@protoc_insertion_point(class_scope:cmvr.api.PauseMicRecordingCommand.Request) private static final cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request(); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.PauseMicRecordingCommand.Feedback) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Feedback getHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; */ cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.PauseMicRecordingCommand.Feedback} */ public static final class Feedback extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.PauseMicRecordingCommand.Feedback) FeedbackOrBuilder { private static final long serialVersionUID = 0L; // Use Feedback.newBuilder() to construct. private Feedback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Feedback() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Feedback(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Feedback header_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Feedback getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback other = (cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.PauseMicRecordingCommand.Feedback} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.PauseMicRecordingCommand.Feedback) cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.FeedbackOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback build() { cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback buildPartial() { cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback result = new cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback) { return mergeFrom((cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback other) { if (other == cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Feedback header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Feedback getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Feedback.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Feedback.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.Feedback.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.PauseMicRecordingCommand.Feedback) } // @@protoc_insertion_point(class_scope:cmvr.api.PauseMicRecordingCommand.Feedback) private static final cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback(); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Feedback parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Feedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.PauseMicRecordingCommand)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.PauseMicRecordingCommand other = (cmvr.api.MicrophoneCommand.PauseMicRecordingCommand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.PauseMicRecordingCommand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.PauseMicRecordingCommand} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.PauseMicRecordingCommand) cmvr.api.MicrophoneCommand.PauseMicRecordingCommandOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.class, cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_PauseMicRecordingCommand_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand build() { cmvr.api.MicrophoneCommand.PauseMicRecordingCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand buildPartial() { cmvr.api.MicrophoneCommand.PauseMicRecordingCommand result = new cmvr.api.MicrophoneCommand.PauseMicRecordingCommand(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.PauseMicRecordingCommand) { return mergeFrom((cmvr.api.MicrophoneCommand.PauseMicRecordingCommand)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.PauseMicRecordingCommand other) { if (other == cmvr.api.MicrophoneCommand.PauseMicRecordingCommand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.PauseMicRecordingCommand) } // @@protoc_insertion_point(class_scope:cmvr.api.PauseMicRecordingCommand) private static final cmvr.api.MicrophoneCommand.PauseMicRecordingCommand DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.PauseMicRecordingCommand(); } public static cmvr.api.MicrophoneCommand.PauseMicRecordingCommand getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PauseMicRecordingCommand parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.PauseMicRecordingCommand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResumeMicRecordingCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.ResumeMicRecordingCommand) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cmvr.api.ResumeMicRecordingCommand} */ public static final class ResumeMicRecordingCommand extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.ResumeMicRecordingCommand) ResumeMicRecordingCommandOrBuilder { private static final long serialVersionUID = 0L; // Use ResumeMicRecordingCommand.newBuilder() to construct. private ResumeMicRecordingCommand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResumeMicRecordingCommand() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ResumeMicRecordingCommand(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.class, cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.ResumeMicRecordingCommand.Request) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Request getHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; */ cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.ResumeMicRecordingCommand.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.ResumeMicRecordingCommand.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Request header_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Request getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Request header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request other = (cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.ResumeMicRecordingCommand.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.ResumeMicRecordingCommand.Request) cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request.class, cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Request_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request build() { cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request buildPartial() { cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request result = new cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request) { return mergeFrom((cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request other) { if (other == cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Request header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Request getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Request.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Request.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.Request.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Request header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.ResumeMicRecordingCommand.Request) } // @@protoc_insertion_point(class_scope:cmvr.api.ResumeMicRecordingCommand.Request) private static final cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request(); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.ResumeMicRecordingCommand.Feedback) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Feedback getHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; */ cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.ResumeMicRecordingCommand.Feedback} */ public static final class Feedback extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.ResumeMicRecordingCommand.Feedback) FeedbackOrBuilder { private static final long serialVersionUID = 0L; // Use Feedback.newBuilder() to construct. private Feedback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Feedback() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Feedback(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Feedback header_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Feedback getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback other = (cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.ResumeMicRecordingCommand.Feedback} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.ResumeMicRecordingCommand.Feedback) cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.FeedbackOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback.class, cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback build() { cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback buildPartial() { cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback result = new cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback) { return mergeFrom((cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback other) { if (other == cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Feedback header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Feedback getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Feedback.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Feedback.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.Feedback.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.ResumeMicRecordingCommand.Feedback) } // @@protoc_insertion_point(class_scope:cmvr.api.ResumeMicRecordingCommand.Feedback) private static final cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback(); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Feedback parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Feedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand other = (cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.ResumeMicRecordingCommand} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.ResumeMicRecordingCommand) cmvr.api.MicrophoneCommand.ResumeMicRecordingCommandOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.class, cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand build() { cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand buildPartial() { cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand result = new cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand) { return mergeFrom((cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand other) { if (other == cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.ResumeMicRecordingCommand) } // @@protoc_insertion_point(class_scope:cmvr.api.ResumeMicRecordingCommand) private static final cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand(); } public static cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResumeMicRecordingCommand parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.ResumeMicRecordingCommand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SetMicPhoneVolumeCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.SetMicPhoneVolumeCommand) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cmvr.api.SetMicPhoneVolumeCommand} */ public static final class SetMicPhoneVolumeCommand extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.SetMicPhoneVolumeCommand) SetMicPhoneVolumeCommandOrBuilder { private static final long serialVersionUID = 0L; // Use SetMicPhoneVolumeCommand.newBuilder() to construct. private SetMicPhoneVolumeCommand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetMicPhoneVolumeCommand() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetMicPhoneVolumeCommand(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.class, cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.SetMicPhoneVolumeCommand.Request) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Request getHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; */ cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder(); /** *
       * 音量值(0 ~ 100)
       * 
* * int32 volume = 2; * @return The volume. */ int getVolume(); } /** * Protobuf type {@code cmvr.api.SetMicPhoneVolumeCommand.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.SetMicPhoneVolumeCommand.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request.class, cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Request header_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Request getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Request header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int VOLUME_FIELD_NUMBER = 2; private int volume_; /** *
       * 音量值(0 ~ 100)
       * 
* * int32 volume = 2; * @return The volume. */ @java.lang.Override public int getVolume() { return volume_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } if (volume_ != 0) { output.writeInt32(2, volume_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (volume_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, volume_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request other = (cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (getVolume() != other.getVolume()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.SetMicPhoneVolumeCommand.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.SetMicPhoneVolumeCommand.Request) cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request.class, cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } volume_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request build() { cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request buildPartial() { cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request result = new cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } result.volume_ = volume_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request) { return mergeFrom((cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request other) { if (other == cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.getVolume() != 0) { setVolume(other.getVolume()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 case 16: { volume_ = input.readInt32(); break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Request header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Request getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Request.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Request.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.Request.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Request header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private int volume_ ; /** *
         * 音量值(0 ~ 100)
         * 
* * int32 volume = 2; * @return The volume. */ @java.lang.Override public int getVolume() { return volume_; } /** *
         * 音量值(0 ~ 100)
         * 
* * int32 volume = 2; * @param value The volume to set. * @return This builder for chaining. */ public Builder setVolume(int value) { volume_ = value; onChanged(); return this; } /** *
         * 音量值(0 ~ 100)
         * 
* * int32 volume = 2; * @return This builder for chaining. */ public Builder clearVolume() { volume_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.SetMicPhoneVolumeCommand.Request) } // @@protoc_insertion_point(class_scope:cmvr.api.SetMicPhoneVolumeCommand.Request) private static final cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request(); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.SetMicPhoneVolumeCommand.Feedback) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Feedback getHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; */ cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.SetMicPhoneVolumeCommand.Feedback} */ public static final class Feedback extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.SetMicPhoneVolumeCommand.Feedback) FeedbackOrBuilder { private static final long serialVersionUID = 0L; // Use Feedback.newBuilder() to construct. private Feedback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Feedback() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Feedback(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback.class, cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Feedback header_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Feedback getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback other = (cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.SetMicPhoneVolumeCommand.Feedback} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.SetMicPhoneVolumeCommand.Feedback) cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.FeedbackOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback.class, cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback build() { cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback buildPartial() { cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback result = new cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback) { return mergeFrom((cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback other) { if (other == cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Feedback header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Feedback getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Feedback.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Feedback.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.Feedback.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.SetMicPhoneVolumeCommand.Feedback) } // @@protoc_insertion_point(class_scope:cmvr.api.SetMicPhoneVolumeCommand.Feedback) private static final cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback(); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Feedback parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Feedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand other = (cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.SetMicPhoneVolumeCommand} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.SetMicPhoneVolumeCommand) cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommandOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.class, cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand build() { cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand buildPartial() { cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand result = new cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand) { return mergeFrom((cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand other) { if (other == cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.SetMicPhoneVolumeCommand) } // @@protoc_insertion_point(class_scope:cmvr.api.SetMicPhoneVolumeCommand) private static final cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand(); } public static cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetMicPhoneVolumeCommand parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.SetMicPhoneVolumeCommand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMicPhoneVolumeCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.GetMicPhoneVolumeCommand) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cmvr.api.GetMicPhoneVolumeCommand} */ public static final class GetMicPhoneVolumeCommand extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.GetMicPhoneVolumeCommand) GetMicPhoneVolumeCommandOrBuilder { private static final long serialVersionUID = 0L; // Use GetMicPhoneVolumeCommand.newBuilder() to construct. private GetMicPhoneVolumeCommand(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetMicPhoneVolumeCommand() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetMicPhoneVolumeCommand(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.class, cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.GetMicPhoneVolumeCommand.Request) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Request getHeader(); /** * .cmvr.api.CommandHeader.Request header = 1; */ cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder(); } /** * Protobuf type {@code cmvr.api.GetMicPhoneVolumeCommand.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.GetMicPhoneVolumeCommand.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Request(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request.class, cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Request header_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Request getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Request header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { return getHeader(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request other = (cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.GetMicPhoneVolumeCommand.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.GetMicPhoneVolumeCommand.Request) cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request.class, cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request build() { cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request buildPartial() { cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request result = new cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request) { return mergeFrom((cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request other) { if (other == cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Request header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Request header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Request header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Request getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Request.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Request value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Request.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.Request.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Request header = 1; */ public cmvr.api.Common.CommandHeader.RequestOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Request.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Request header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Request, cmvr.api.Common.CommandHeader.Request.Builder, cmvr.api.Common.CommandHeader.RequestOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.GetMicPhoneVolumeCommand.Request) } // @@protoc_insertion_point(class_scope:cmvr.api.GetMicPhoneVolumeCommand.Request) private static final cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request(); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeedbackOrBuilder extends // @@protoc_insertion_point(interface_extends:cmvr.api.GetMicPhoneVolumeCommand.Feedback) com.google.protobuf.MessageOrBuilder { /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ cmvr.api.Common.CommandHeader.Feedback getHeader(); /** * .cmvr.api.CommandHeader.Feedback header = 1; */ cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder(); /** *
       * 当前音量值
       * 
* * int32 volume = 2; * @return The volume. */ int getVolume(); } /** * Protobuf type {@code cmvr.api.GetMicPhoneVolumeCommand.Feedback} */ public static final class Feedback extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cmvr.api.GetMicPhoneVolumeCommand.Feedback) FeedbackOrBuilder { private static final long serialVersionUID = 0L; // Use Feedback.newBuilder() to construct. private Feedback(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Feedback() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Feedback(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback.class, cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private cmvr.api.Common.CommandHeader.Feedback header_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ @java.lang.Override public cmvr.api.Common.CommandHeader.Feedback getHeader() { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ @java.lang.Override public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int VOLUME_FIELD_NUMBER = 2; private int volume_; /** *
       * 当前音量值
       * 
* * int32 volume = 2; * @return The volume. */ @java.lang.Override public int getVolume() { return volume_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } if (volume_ != 0) { output.writeInt32(2, volume_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (volume_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, volume_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback other = (cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (getVolume() != other.getVolume()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.GetMicPhoneVolumeCommand.Feedback} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.GetMicPhoneVolumeCommand.Feedback) cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.FeedbackOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback.class, cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } volume_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback build() { cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback buildPartial() { cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback result = new cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } result.volume_ = volume_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback) { return mergeFrom((cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback other) { if (other == cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.getVolume() != 0) { setVolume(other.getVolume()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeaderFieldBuilder().getBuilder(), extensionRegistry); break; } // case 10 case 16: { volume_ = input.readInt32(); break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private cmvr.api.Common.CommandHeader.Feedback header_; private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> headerBuilder_; /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .cmvr.api.CommandHeader.Feedback header = 1; * @return The header. */ public cmvr.api.Common.CommandHeader.Feedback getHeader() { if (headerBuilder_ == null) { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder setHeader( cmvr.api.Common.CommandHeader.Feedback.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder mergeHeader(cmvr.api.Common.CommandHeader.Feedback value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = cmvr.api.Common.CommandHeader.Feedback.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.Feedback.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ public cmvr.api.Common.CommandHeader.FeedbackOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? cmvr.api.Common.CommandHeader.Feedback.getDefaultInstance() : header_; } } /** * .cmvr.api.CommandHeader.Feedback header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cmvr.api.Common.CommandHeader.Feedback, cmvr.api.Common.CommandHeader.Feedback.Builder, cmvr.api.Common.CommandHeader.FeedbackOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private int volume_ ; /** *
         * 当前音量值
         * 
* * int32 volume = 2; * @return The volume. */ @java.lang.Override public int getVolume() { return volume_; } /** *
         * 当前音量值
         * 
* * int32 volume = 2; * @param value The volume to set. * @return This builder for chaining. */ public Builder setVolume(int value) { volume_ = value; onChanged(); return this; } /** *
         * 当前音量值
         * 
* * int32 volume = 2; * @return This builder for chaining. */ public Builder clearVolume() { volume_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.GetMicPhoneVolumeCommand.Feedback) } // @@protoc_insertion_point(class_scope:cmvr.api.GetMicPhoneVolumeCommand.Feedback) private static final cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback(); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Feedback parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Feedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand)) { return super.equals(obj); } cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand other = (cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code cmvr.api.GetMicPhoneVolumeCommand} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cmvr.api.GetMicPhoneVolumeCommand) cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommandOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_fieldAccessorTable .ensureFieldAccessorsInitialized( cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.class, cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.Builder.class); } // Construct using cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cmvr.api.MicrophoneCommand.internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand getDefaultInstanceForType() { return cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.getDefaultInstance(); } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand build() { cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand buildPartial() { cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand result = new cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand) { return mergeFrom((cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand other) { if (other == cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cmvr.api.GetMicPhoneVolumeCommand) } // @@protoc_insertion_point(class_scope:cmvr.api.GetMicPhoneVolumeCommand) private static final cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand(); } public static cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetMicPhoneVolumeCommand parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cmvr.api.MicrophoneCommand.GetMicPhoneVolumeCommand getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_MicState_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_MicState_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_GetMicStateCommand_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_GetMicStateCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_GetMicStateCommand_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_GetMicStateCommand_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_GetMicStateCommand_Feedback_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_GetMicStateCommand_Feedback_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_StartMicRecordingCommand_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_StartMicRecordingCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_StartMicRecordingCommand_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_StartMicRecordingCommand_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_StartMicRecordingCommand_Feedback_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_StartMicRecordingCommand_Feedback_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_StopMicRecordingCommand_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_StopMicRecordingCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_StopMicRecordingCommand_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_StopMicRecordingCommand_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_StopMicRecordingCommand_Feedback_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_StopMicRecordingCommand_Feedback_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_PauseMicRecordingCommand_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_PauseMicRecordingCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_PauseMicRecordingCommand_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_PauseMicRecordingCommand_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_ResumeMicRecordingCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_ResumeMicRecordingCommand_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_ResumeMicRecordingCommand_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_SetMicPhoneVolumeCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_GetMicPhoneVolumeCommand_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n!cmvr/api/microphone_command.proto\022\010cmv" + "r.api\032\025cmvr/api/common.proto\"s\n\010MicState" + "\022\026\n\016is_initialized\030\001 \001(\010\022\022\n\nis_running\030\002" + " \001(\010\022\024\n\014is_recording\030\003 \001(\010\022\016\n\006volume\030\004 \001" + "(\005\022\025\n\rerror_message\030\005 \001(\t\"\261\001\n\022GetMicStat" + "eCommand\032:\n\007Request\022/\n\006header\030\001 \001(\0132\037.cm" + "vr.api.CommandHeader.Request\032_\n\010Feedback" + "\0220\n\006header\030\001 \001(\0132 .cmvr.api.CommandHeade" + "r.Feedback\022!\n\005state\030\002 \001(\0132\022.cmvr.api.Mic" + "State\"\247\001\n\030StartMicRecordingCommand\032M\n\007Re" + "quest\022/\n\006header\030\001 \001(\0132\037.cmvr.api.Command" + "Header.Request\022\021\n\tfile_path\030\002 \001(\t\032<\n\010Fee" + "dback\0220\n\006header\030\001 \001(\0132 .cmvr.api.Command" + "Header.Feedback\"\223\001\n\027StopMicRecordingComm" + "and\032:\n\007Request\022/\n\006header\030\001 \001(\0132\037.cmvr.ap" + "i.CommandHeader.Request\032<\n\010Feedback\0220\n\006h" + "eader\030\001 \001(\0132 .cmvr.api.CommandHeader.Fee" + "dback\"\224\001\n\030PauseMicRecordingCommand\032:\n\007Re" + "quest\022/\n\006header\030\001 \001(\0132\037.cmvr.api.Command" + "Header.Request\032<\n\010Feedback\0220\n\006header\030\001 \001" + "(\0132 .cmvr.api.CommandHeader.Feedback\"\225\001\n" + "\031ResumeMicRecordingCommand\032:\n\007Request\022/\n" + "\006header\030\001 \001(\0132\037.cmvr.api.CommandHeader.R" + "equest\032<\n\010Feedback\0220\n\006header\030\001 \001(\0132 .cmv" + "r.api.CommandHeader.Feedback\"\244\001\n\030SetMicP" + "honeVolumeCommand\032J\n\007Request\022/\n\006header\030\001" + " \001(\0132\037.cmvr.api.CommandHeader.Request\022\016\n" + "\006volume\030\002 \001(\005\032<\n\010Feedback\0220\n\006header\030\001 \001(" + "\0132 .cmvr.api.CommandHeader.Feedback\"\244\001\n\030" + "GetMicPhoneVolumeCommand\032:\n\007Request\022/\n\006h" + "eader\030\001 \001(\0132\037.cmvr.api.CommandHeader.Req" + "uest\032L\n\010Feedback\0220\n\006header\030\001 \001(\0132 .cmvr." + "api.CommandHeader.Feedback\022\016\n\006volume\030\002 \001" + "(\005b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cmvr.api.Common.getDescriptor(), }); internal_static_cmvr_api_MicState_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cmvr_api_MicState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_MicState_descriptor, new java.lang.String[] { "IsInitialized", "IsRunning", "IsRecording", "Volume", "ErrorMessage", }); internal_static_cmvr_api_GetMicStateCommand_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cmvr_api_GetMicStateCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_GetMicStateCommand_descriptor, new java.lang.String[] { }); internal_static_cmvr_api_GetMicStateCommand_Request_descriptor = internal_static_cmvr_api_GetMicStateCommand_descriptor.getNestedTypes().get(0); internal_static_cmvr_api_GetMicStateCommand_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_GetMicStateCommand_Request_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_GetMicStateCommand_Feedback_descriptor = internal_static_cmvr_api_GetMicStateCommand_descriptor.getNestedTypes().get(1); internal_static_cmvr_api_GetMicStateCommand_Feedback_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_GetMicStateCommand_Feedback_descriptor, new java.lang.String[] { "Header", "State", }); internal_static_cmvr_api_StartMicRecordingCommand_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cmvr_api_StartMicRecordingCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_StartMicRecordingCommand_descriptor, new java.lang.String[] { }); internal_static_cmvr_api_StartMicRecordingCommand_Request_descriptor = internal_static_cmvr_api_StartMicRecordingCommand_descriptor.getNestedTypes().get(0); internal_static_cmvr_api_StartMicRecordingCommand_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_StartMicRecordingCommand_Request_descriptor, new java.lang.String[] { "Header", "FilePath", }); internal_static_cmvr_api_StartMicRecordingCommand_Feedback_descriptor = internal_static_cmvr_api_StartMicRecordingCommand_descriptor.getNestedTypes().get(1); internal_static_cmvr_api_StartMicRecordingCommand_Feedback_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_StartMicRecordingCommand_Feedback_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_StopMicRecordingCommand_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cmvr_api_StopMicRecordingCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_StopMicRecordingCommand_descriptor, new java.lang.String[] { }); internal_static_cmvr_api_StopMicRecordingCommand_Request_descriptor = internal_static_cmvr_api_StopMicRecordingCommand_descriptor.getNestedTypes().get(0); internal_static_cmvr_api_StopMicRecordingCommand_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_StopMicRecordingCommand_Request_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_StopMicRecordingCommand_Feedback_descriptor = internal_static_cmvr_api_StopMicRecordingCommand_descriptor.getNestedTypes().get(1); internal_static_cmvr_api_StopMicRecordingCommand_Feedback_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_StopMicRecordingCommand_Feedback_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_PauseMicRecordingCommand_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cmvr_api_PauseMicRecordingCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_PauseMicRecordingCommand_descriptor, new java.lang.String[] { }); internal_static_cmvr_api_PauseMicRecordingCommand_Request_descriptor = internal_static_cmvr_api_PauseMicRecordingCommand_descriptor.getNestedTypes().get(0); internal_static_cmvr_api_PauseMicRecordingCommand_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_PauseMicRecordingCommand_Request_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_descriptor = internal_static_cmvr_api_PauseMicRecordingCommand_descriptor.getNestedTypes().get(1); internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_PauseMicRecordingCommand_Feedback_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cmvr_api_ResumeMicRecordingCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor, new java.lang.String[] { }); internal_static_cmvr_api_ResumeMicRecordingCommand_Request_descriptor = internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor.getNestedTypes().get(0); internal_static_cmvr_api_ResumeMicRecordingCommand_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_ResumeMicRecordingCommand_Request_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_descriptor = internal_static_cmvr_api_ResumeMicRecordingCommand_descriptor.getNestedTypes().get(1); internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_ResumeMicRecordingCommand_Feedback_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cmvr_api_SetMicPhoneVolumeCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor, new java.lang.String[] { }); internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_descriptor = internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor.getNestedTypes().get(0); internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_SetMicPhoneVolumeCommand_Request_descriptor, new java.lang.String[] { "Header", "Volume", }); internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_descriptor = internal_static_cmvr_api_SetMicPhoneVolumeCommand_descriptor.getNestedTypes().get(1); internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_SetMicPhoneVolumeCommand_Feedback_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cmvr_api_GetMicPhoneVolumeCommand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor, new java.lang.String[] { }); internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_descriptor = internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor.getNestedTypes().get(0); internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_GetMicPhoneVolumeCommand_Request_descriptor, new java.lang.String[] { "Header", }); internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_descriptor = internal_static_cmvr_api_GetMicPhoneVolumeCommand_descriptor.getNestedTypes().get(1); internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cmvr_api_GetMicPhoneVolumeCommand_Feedback_descriptor, new java.lang.String[] { "Header", "Volume", }); cmvr.api.Common.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }