/** * <code>optional .openxc.RTCConfigurationCommand rtc_configuration_command = 8;</code> */ public com.openxc.BinaryMessages.RTCConfigurationCommandOrBuilder getRtcConfigurationCommandOrBuilder() { if (rtcConfigurationCommandBuilder_ != null) { return rtcConfigurationCommandBuilder_.getMessageOrBuilder(); } else { return rtcConfigurationCommand_ == null ? com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance() : rtcConfigurationCommand_; } } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasUnixTime()) { hash = (37 * hash) + UNIX_TIME_FIELD_NUMBER; hash = (53 * hash) + getUnixTime(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
if (hasRtcConfigurationCommand()) { result = result && getRtcConfigurationCommand() .equals(other.getRtcConfigurationCommand());
hash = (53 * hash) + getRtcConfigurationCommand().hashCode();
/** * <code>optional .openxc.RTCConfigurationCommand rtc_configuration_command = 8;</code> */ public Builder mergeRtcConfigurationCommand(com.openxc.BinaryMessages.RTCConfigurationCommand value) { if (rtcConfigurationCommandBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && rtcConfigurationCommand_ != null && rtcConfigurationCommand_ != com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance()) { rtcConfigurationCommand_ = com.openxc.BinaryMessages.RTCConfigurationCommand.newBuilder(rtcConfigurationCommand_).mergeFrom(value).buildPartial(); } else { rtcConfigurationCommand_ = value; } onChanged(); } else { rtcConfigurationCommandBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.openxc.BinaryMessages.RTCConfigurationCommand)) { return super.equals(obj); } com.openxc.BinaryMessages.RTCConfigurationCommand other = (com.openxc.BinaryMessages.RTCConfigurationCommand) obj; boolean result = true; result = result && (hasUnixTime() == other.hasUnixTime()); if (hasUnixTime()) { result = result && (getUnixTime() == other.getUnixTime()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public com.openxc.BinaryMessages.RTCConfigurationCommand getDefaultInstanceForType() { return com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance(); }
/** * <code>optional .openxc.RTCConfigurationCommand rtc_configuration_command = 8;</code> */ public com.openxc.BinaryMessages.RTCConfigurationCommand getRtcConfigurationCommand() { return rtcConfigurationCommand_ == null ? com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance() : rtcConfigurationCommand_; } /**
public com.openxc.BinaryMessages.RTCConfigurationCommand buildPartial() { com.openxc.BinaryMessages.RTCConfigurationCommand result = new com.openxc.BinaryMessages.RTCConfigurationCommand(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.unixTime_ = unixTime_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
/** * <code>optional .openxc.RTCConfigurationCommand rtc_configuration_command = 8;</code> */ public com.openxc.BinaryMessages.RTCConfigurationCommand getRtcConfigurationCommand() { if (rtcConfigurationCommandBuilder_ == null) { return rtcConfigurationCommand_ == null ? com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance() : rtcConfigurationCommand_; } else { return rtcConfigurationCommandBuilder_.getMessage(); } } /**
public com.openxc.BinaryMessages.RTCConfigurationCommand build() { com.openxc.BinaryMessages.RTCConfigurationCommand result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>optional .openxc.RTCConfigurationCommand rtc_configuration_command = 8;</code> */ public com.openxc.BinaryMessages.RTCConfigurationCommandOrBuilder getRtcConfigurationCommandOrBuilder() { return rtcConfigurationCommand_ == null ? com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance() : rtcConfigurationCommand_; }
public Builder mergeFrom(com.openxc.BinaryMessages.RTCConfigurationCommand other) { if (other == com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance()) return this; if (other.hasUnixTime()) { setUnixTime(other.getUnixTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }