Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!// source: hansken_extraction_plugin/framework/PrimitiveMessages.proto// Protobuf Java Version: 3.25.3package org.hansken.extraction.plugin.grpc;
/**
*
**
* Message representing a timestamp in a specific zone with a specific offset. For a
* description of the valid values of these properties, such as the zone ID, refer to the ZonedDateTime JavaDoc:
* <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/ZonedDateTime.html">
* ZonedDateTime JavaDoc</a>.
* <p>
* All fields are required.
*
*
* Protobuf type {@code org.hansken.extraction.plugin.grpc.RpcZonedDateTime}
*/
public finalclassRpcZonedDateTimeextends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org.hansken.extraction.plugin.grpc.RpcZonedDateTime)RpcZonedDateTimeOrBuilder {
private static final long serialVersionUID = 0L;
// Use RpcZonedDateTime.newBuilder() to construct.privateRpcZonedDateTime(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
privateRpcZonedDateTime() {
zoneOffset_ = "";
zoneId_ = "";
}
@java.lang.Override@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
returnnewRpcZonedDateTime();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hansken.extraction.plugin.grpc.PrimitiveMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcZonedDateTime_descriptor;
}
@java.lang.Overrideprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hansken.extraction.plugin.grpc.PrimitiveMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcZonedDateTime_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hansken.extraction.plugin.grpc.RpcZonedDateTime.class, org.hansken.extraction.plugin.grpc.RpcZonedDateTime.Builder.class);
}
public static final int EPOCHSECOND_FIELD_NUMBER = 1;
private long epochSecond_ = 0L;
/**
*
* number of seconds since 1970-01-01T00:00:00Z
*
*
* int64 epochSecond = 1;
* @return The epochSecond.
*/@java.lang.Override
public long getEpochSecond() {
return epochSecond_;
}
public static final int NANOOFSECOND_FIELD_NUMBER = 2;
private int nanoOfSecond_ = 0;
/**
*
* the sub-second time in nanoseconds
*
*
* int32 nanoOfSecond = 2;
* @return The nanoOfSecond.
*/@java.lang.Override
public int getNanoOfSecond() {
return nanoOfSecond_;
}
public static final int ZONEOFFSET_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object zoneOffset_ = "";
/**
*
**
* Message representing a timestamp in a specific zone with a specific offset. For a
* description of the valid values of these properties, such as the zone ID, refer to the ZonedDateTime JavaDoc:
* <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/ZonedDateTime.html">
* ZonedDateTime JavaDoc</a>.
* <p>
* All fields are required.
*
*
* Protobuf type {@code org.hansken.extraction.plugin.grpc.RpcZonedDateTime}
*/
public static finalclassBuilderextends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org.hansken.extraction.plugin.grpc.RpcZonedDateTime)
org.hansken.extraction.plugin.grpc.RpcZonedDateTimeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hansken.extraction.plugin.grpc.PrimitiveMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcZonedDateTime_descriptor;
}
@java.lang.Overrideprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hansken.extraction.plugin.grpc.PrimitiveMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcZonedDateTime_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hansken.extraction.plugin.grpc.RpcZonedDateTime.class, org.hansken.extraction.plugin.grpc.RpcZonedDateTime.Builder.class);
}
// Construct using org.hansken.extraction.plugin.grpc.RpcZonedDateTime.newBuilder()privateBuilder() {
}
privateBuilder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
epochSecond_ = 0L;
nanoOfSecond_ = 0;
zoneOffset_ = "";
zoneId_ = "";
returnthis;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hansken.extraction.plugin.grpc.PrimitiveMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcZonedDateTime_descriptor;
}
@java.lang.Override
public org.hansken.extraction.plugin.grpc.RpcZonedDateTime getDefaultInstanceForType() {
return org.hansken.extraction.plugin.grpc.RpcZonedDateTime.getDefaultInstance();
}
@java.lang.Override
public org.hansken.extraction.plugin.grpc.RpcZonedDateTime build() {
org.hansken.extraction.plugin.grpc.RpcZonedDateTime result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.hansken.extraction.plugin.grpc.RpcZonedDateTime buildPartial() {
org.hansken.extraction.plugin.grpc.RpcZonedDateTime result = new org.hansken.extraction.plugin.grpc.RpcZonedDateTime(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.hansken.extraction.plugin.grpc.RpcZonedDateTime result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.epochSecond_ = epochSecond_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.nanoOfSecond_ = nanoOfSecond_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.zoneOffset_ = zoneOffset_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.zoneId_ = zoneId_;
}
}
@java.lang.Override
public Builder clone() {
returnsuper.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
returnsuper.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
returnsuper.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
returnsuper.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
returnsuper.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
returnsuper.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hansken.extraction.plugin.grpc.RpcZonedDateTime) {
return mergeFrom((org.hansken.extraction.plugin.grpc.RpcZonedDateTime)other);
} else {
super.mergeFrom(other);
returnthis;
}
}
public Builder mergeFrom(org.hansken.extraction.plugin.grpc.RpcZonedDateTime other) {
if (other == org.hansken.extraction.plugin.grpc.RpcZonedDateTime.getDefaultInstance()) returnthis;
if (other.getEpochSecond() != 0L) {
setEpochSecond(other.getEpochSecond());
}
if (other.getNanoOfSecond() != 0) {
setNanoOfSecond(other.getNanoOfSecond());
}
if (!other.getZoneOffset().isEmpty()) {
zoneOffset_ = other.zoneOffset_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getZoneId().isEmpty()) {
zoneId_ = other.zoneId_;
bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
returnthis;
}
@java.lang.Override
public final boolean isInitialized() {
returntrue;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
thrownew java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case0:
done = true;
break;
case8: {
epochSecond_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8case16: {
nanoOfSecond_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16case26: {
zoneOffset_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26case34: {
zoneId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34default: {
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();
} // finallyreturnthis;
}
private int bitField0_;
private long epochSecond_ ;
/**
*
* number of seconds since 1970-01-01T00:00:00Z
*
*
* int64 epochSecond = 1;
* @return The epochSecond.
*/@java.lang.Override
public long getEpochSecond() {
return epochSecond_;
}
/**
*
* number of seconds since 1970-01-01T00:00:00Z
*
*
* int64 epochSecond = 1;
* @param value The epochSecond to set.
* @return This builder for chaining.
*/
public Builder setEpochSecond(long value) {
epochSecond_ = value;
bitField0_ |= 0x00000001;
onChanged();
returnthis;
}
/**
*
* number of seconds since 1970-01-01T00:00:00Z
*
*
* int64 epochSecond = 1;
* @return This builder for chaining.
*/
public Builder clearEpochSecond() {
bitField0_ = (bitField0_ & ~0x00000001);
epochSecond_ = 0L;
onChanged();
returnthis;
}
private int nanoOfSecond_ ;
/**
*
* the sub-second time in nanoseconds
*
*
* int32 nanoOfSecond = 2;
* @return The nanoOfSecond.
*/@java.lang.Override
public int getNanoOfSecond() {
return nanoOfSecond_;
}
/**
*
* the sub-second time in nanoseconds
*
*
* int32 nanoOfSecond = 2;
* @param value The nanoOfSecond to set.
* @return This builder for chaining.
*/
public Builder setNanoOfSecond(int value) {
nanoOfSecond_ = value;
bitField0_ |= 0x00000002;
onChanged();
returnthis;
}
/**
*