All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.provenance.scope.proto.Util Maven / Gradle / Ivy

Go to download

A collection of libraries that interact and run Provenance Java based contracts.

There is a newer version: 0.7.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: util.proto

package io.provenance.scope.proto;

public final class Util {
  private Util() {}
  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 UUIDOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.provenance.scope.UUID)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string value = 1;
     * @return The value.
     */
    java.lang.String getValue();
    /**
     * string value = 1;
     * @return The bytes for value.
     */
    com.google.protobuf.ByteString
        getValueBytes();
  }
  /**
   * 
   *UUID stored as a string
   * 
* * Protobuf type {@code io.provenance.scope.UUID} */ public static final class UUID extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.provenance.scope.UUID) UUIDOrBuilder { private static final long serialVersionUID = 0L; // Use UUID.newBuilder() to construct. private UUID(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UUID() { value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UUID(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UUID( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); value_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_UUID_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_UUID_fieldAccessorTable .ensureFieldAccessorsInitialized( io.provenance.scope.proto.Util.UUID.class, io.provenance.scope.proto.Util.UUID.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private volatile java.lang.Object value_; /** * string value = 1; * @return The value. */ @java.lang.Override public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; } } /** * string value = 1; * @return The bytes for value. */ @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = 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 (!getValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getValueBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.provenance.scope.proto.Util.UUID)) { return super.equals(obj); } io.provenance.scope.proto.Util.UUID other = (io.provenance.scope.proto.Util.UUID) obj; if (!getValue() .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.provenance.scope.proto.Util.UUID parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.scope.proto.Util.UUID parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.scope.proto.Util.UUID parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.scope.proto.Util.UUID parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.scope.proto.Util.UUID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.scope.proto.Util.UUID parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.scope.proto.Util.UUID parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.provenance.scope.proto.Util.UUID 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 io.provenance.scope.proto.Util.UUID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.provenance.scope.proto.Util.UUID 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 io.provenance.scope.proto.Util.UUID parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.provenance.scope.proto.Util.UUID 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(io.provenance.scope.proto.Util.UUID 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; } /** *
     *UUID stored as a string
     * 
* * Protobuf type {@code io.provenance.scope.UUID} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.provenance.scope.UUID) io.provenance.scope.proto.Util.UUIDOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_UUID_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_UUID_fieldAccessorTable .ensureFieldAccessorsInitialized( io.provenance.scope.proto.Util.UUID.class, io.provenance.scope.proto.Util.UUID.Builder.class); } // Construct using io.provenance.scope.proto.Util.UUID.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); value_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_UUID_descriptor; } @java.lang.Override public io.provenance.scope.proto.Util.UUID getDefaultInstanceForType() { return io.provenance.scope.proto.Util.UUID.getDefaultInstance(); } @java.lang.Override public io.provenance.scope.proto.Util.UUID build() { io.provenance.scope.proto.Util.UUID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.provenance.scope.proto.Util.UUID buildPartial() { io.provenance.scope.proto.Util.UUID result = new io.provenance.scope.proto.Util.UUID(this); result.value_ = value_; 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 io.provenance.scope.proto.Util.UUID) { return mergeFrom((io.provenance.scope.proto.Util.UUID)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.provenance.scope.proto.Util.UUID other) { if (other == io.provenance.scope.proto.Util.UUID.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { io.provenance.scope.proto.Util.UUID parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.provenance.scope.proto.Util.UUID) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object value_ = ""; /** * string value = 1; * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } else { return (java.lang.String) ref; } } /** * string value = 1; * @return The bytes for value. */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string value = 1; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); return this; } /** * string value = 1; * @return This builder for chaining. */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * string value = 1; * @param value The bytes for value to set. * @return This builder for chaining. */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = 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:io.provenance.scope.UUID) } // @@protoc_insertion_point(class_scope:io.provenance.scope.UUID) private static final io.provenance.scope.proto.Util.UUID DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.provenance.scope.proto.Util.UUID(); } public static io.provenance.scope.proto.Util.UUID getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UUID parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UUID(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.provenance.scope.proto.Util.UUID getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AuditFieldsOrBuilder extends // @@protoc_insertion_point(interface_extends:io.provenance.scope.AuditFields) com.google.protobuf.MessageOrBuilder { /** * .google.protobuf.Timestamp created_date = 1; * @return Whether the createdDate field is set. */ boolean hasCreatedDate(); /** * .google.protobuf.Timestamp created_date = 1; * @return The createdDate. */ com.google.protobuf.Timestamp getCreatedDate(); /** * .google.protobuf.Timestamp created_date = 1; */ com.google.protobuf.TimestampOrBuilder getCreatedDateOrBuilder(); /** * string created_by = 2; * @return The createdBy. */ java.lang.String getCreatedBy(); /** * string created_by = 2; * @return The bytes for createdBy. */ com.google.protobuf.ByteString getCreatedByBytes(); /** * .google.protobuf.Timestamp updated_date = 3; * @return Whether the updatedDate field is set. */ boolean hasUpdatedDate(); /** * .google.protobuf.Timestamp updated_date = 3; * @return The updatedDate. */ com.google.protobuf.Timestamp getUpdatedDate(); /** * .google.protobuf.Timestamp updated_date = 3; */ com.google.protobuf.TimestampOrBuilder getUpdatedDateOrBuilder(); /** * string updated_by = 4; * @return The updatedBy. */ java.lang.String getUpdatedBy(); /** * string updated_by = 4; * @return The bytes for updatedBy. */ com.google.protobuf.ByteString getUpdatedByBytes(); /** * int32 version = 5; * @return The version. */ int getVersion(); /** * string message = 6; * @return The message. */ java.lang.String getMessage(); /** * string message = 6; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** *
   *Audit
   * 
* * Protobuf type {@code io.provenance.scope.AuditFields} */ public static final class AuditFields extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.provenance.scope.AuditFields) AuditFieldsOrBuilder { private static final long serialVersionUID = 0L; // Use AuditFields.newBuilder() to construct. private AuditFields(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AuditFields() { createdBy_ = ""; updatedBy_ = ""; message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AuditFields(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AuditFields( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (createdDate_ != null) { subBuilder = createdDate_.toBuilder(); } createdDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(createdDate_); createdDate_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); createdBy_ = s; break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (updatedDate_ != null) { subBuilder = updatedDate_.toBuilder(); } updatedDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updatedDate_); updatedDate_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); updatedBy_ = s; break; } case 40: { version_ = input.readInt32(); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_AuditFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_AuditFields_fieldAccessorTable .ensureFieldAccessorsInitialized( io.provenance.scope.proto.Util.AuditFields.class, io.provenance.scope.proto.Util.AuditFields.Builder.class); } public static final int CREATED_DATE_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createdDate_; /** * .google.protobuf.Timestamp created_date = 1; * @return Whether the createdDate field is set. */ @java.lang.Override public boolean hasCreatedDate() { return createdDate_ != null; } /** * .google.protobuf.Timestamp created_date = 1; * @return The createdDate. */ @java.lang.Override public com.google.protobuf.Timestamp getCreatedDate() { return createdDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdDate_; } /** * .google.protobuf.Timestamp created_date = 1; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedDateOrBuilder() { return getCreatedDate(); } public static final int CREATED_BY_FIELD_NUMBER = 2; private volatile java.lang.Object createdBy_; /** * string created_by = 2; * @return The createdBy. */ @java.lang.Override public java.lang.String getCreatedBy() { java.lang.Object ref = createdBy_; 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(); createdBy_ = s; return s; } } /** * string created_by = 2; * @return The bytes for createdBy. */ @java.lang.Override public com.google.protobuf.ByteString getCreatedByBytes() { java.lang.Object ref = createdBy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createdBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UPDATED_DATE_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updatedDate_; /** * .google.protobuf.Timestamp updated_date = 3; * @return Whether the updatedDate field is set. */ @java.lang.Override public boolean hasUpdatedDate() { return updatedDate_ != null; } /** * .google.protobuf.Timestamp updated_date = 3; * @return The updatedDate. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdatedDate() { return updatedDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedDate_; } /** * .google.protobuf.Timestamp updated_date = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdatedDateOrBuilder() { return getUpdatedDate(); } public static final int UPDATED_BY_FIELD_NUMBER = 4; private volatile java.lang.Object updatedBy_; /** * string updated_by = 4; * @return The updatedBy. */ @java.lang.Override public java.lang.String getUpdatedBy() { java.lang.Object ref = updatedBy_; 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(); updatedBy_ = s; return s; } } /** * string updated_by = 4; * @return The bytes for updatedBy. */ @java.lang.Override public com.google.protobuf.ByteString getUpdatedByBytes() { java.lang.Object ref = updatedBy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); updatedBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 5; private int version_; /** * int32 version = 5; * @return The version. */ @java.lang.Override public int getVersion() { return version_; } public static final int MESSAGE_FIELD_NUMBER = 6; private volatile java.lang.Object message_; /** * string message = 6; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 6; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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 (createdDate_ != null) { output.writeMessage(1, getCreatedDate()); } if (!getCreatedByBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, createdBy_); } if (updatedDate_ != null) { output.writeMessage(3, getUpdatedDate()); } if (!getUpdatedByBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, updatedBy_); } if (version_ != 0) { output.writeInt32(5, version_); } if (!getMessageBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (createdDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCreatedDate()); } if (!getCreatedByBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, createdBy_); } if (updatedDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getUpdatedDate()); } if (!getUpdatedByBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatedBy_); } if (version_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, version_); } if (!getMessageBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, message_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.provenance.scope.proto.Util.AuditFields)) { return super.equals(obj); } io.provenance.scope.proto.Util.AuditFields other = (io.provenance.scope.proto.Util.AuditFields) obj; if (hasCreatedDate() != other.hasCreatedDate()) return false; if (hasCreatedDate()) { if (!getCreatedDate() .equals(other.getCreatedDate())) return false; } if (!getCreatedBy() .equals(other.getCreatedBy())) return false; if (hasUpdatedDate() != other.hasUpdatedDate()) return false; if (hasUpdatedDate()) { if (!getUpdatedDate() .equals(other.getUpdatedDate())) return false; } if (!getUpdatedBy() .equals(other.getUpdatedBy())) return false; if (getVersion() != other.getVersion()) return false; if (!getMessage() .equals(other.getMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCreatedDate()) { hash = (37 * hash) + CREATED_DATE_FIELD_NUMBER; hash = (53 * hash) + getCreatedDate().hashCode(); } hash = (37 * hash) + CREATED_BY_FIELD_NUMBER; hash = (53 * hash) + getCreatedBy().hashCode(); if (hasUpdatedDate()) { hash = (37 * hash) + UPDATED_DATE_FIELD_NUMBER; hash = (53 * hash) + getUpdatedDate().hashCode(); } hash = (37 * hash) + UPDATED_BY_FIELD_NUMBER; hash = (53 * hash) + getUpdatedBy().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.provenance.scope.proto.Util.AuditFields parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.scope.proto.Util.AuditFields parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.scope.proto.Util.AuditFields parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.scope.proto.Util.AuditFields parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.scope.proto.Util.AuditFields parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.scope.proto.Util.AuditFields parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.scope.proto.Util.AuditFields parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.provenance.scope.proto.Util.AuditFields 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 io.provenance.scope.proto.Util.AuditFields parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.provenance.scope.proto.Util.AuditFields 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 io.provenance.scope.proto.Util.AuditFields parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.provenance.scope.proto.Util.AuditFields 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(io.provenance.scope.proto.Util.AuditFields 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; } /** *
     *Audit
     * 
* * Protobuf type {@code io.provenance.scope.AuditFields} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.provenance.scope.AuditFields) io.provenance.scope.proto.Util.AuditFieldsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_AuditFields_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_AuditFields_fieldAccessorTable .ensureFieldAccessorsInitialized( io.provenance.scope.proto.Util.AuditFields.class, io.provenance.scope.proto.Util.AuditFields.Builder.class); } // Construct using io.provenance.scope.proto.Util.AuditFields.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (createdDateBuilder_ == null) { createdDate_ = null; } else { createdDate_ = null; createdDateBuilder_ = null; } createdBy_ = ""; if (updatedDateBuilder_ == null) { updatedDate_ = null; } else { updatedDate_ = null; updatedDateBuilder_ = null; } updatedBy_ = ""; version_ = 0; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.provenance.scope.proto.Util.internal_static_io_provenance_scope_AuditFields_descriptor; } @java.lang.Override public io.provenance.scope.proto.Util.AuditFields getDefaultInstanceForType() { return io.provenance.scope.proto.Util.AuditFields.getDefaultInstance(); } @java.lang.Override public io.provenance.scope.proto.Util.AuditFields build() { io.provenance.scope.proto.Util.AuditFields result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.provenance.scope.proto.Util.AuditFields buildPartial() { io.provenance.scope.proto.Util.AuditFields result = new io.provenance.scope.proto.Util.AuditFields(this); if (createdDateBuilder_ == null) { result.createdDate_ = createdDate_; } else { result.createdDate_ = createdDateBuilder_.build(); } result.createdBy_ = createdBy_; if (updatedDateBuilder_ == null) { result.updatedDate_ = updatedDate_; } else { result.updatedDate_ = updatedDateBuilder_.build(); } result.updatedBy_ = updatedBy_; result.version_ = version_; result.message_ = message_; 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 io.provenance.scope.proto.Util.AuditFields) { return mergeFrom((io.provenance.scope.proto.Util.AuditFields)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.provenance.scope.proto.Util.AuditFields other) { if (other == io.provenance.scope.proto.Util.AuditFields.getDefaultInstance()) return this; if (other.hasCreatedDate()) { mergeCreatedDate(other.getCreatedDate()); } if (!other.getCreatedBy().isEmpty()) { createdBy_ = other.createdBy_; onChanged(); } if (other.hasUpdatedDate()) { mergeUpdatedDate(other.getUpdatedDate()); } if (!other.getUpdatedBy().isEmpty()) { updatedBy_ = other.updatedBy_; onChanged(); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { io.provenance.scope.proto.Util.AuditFields parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.provenance.scope.proto.Util.AuditFields) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Timestamp createdDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdDateBuilder_; /** * .google.protobuf.Timestamp created_date = 1; * @return Whether the createdDate field is set. */ public boolean hasCreatedDate() { return createdDateBuilder_ != null || createdDate_ != null; } /** * .google.protobuf.Timestamp created_date = 1; * @return The createdDate. */ public com.google.protobuf.Timestamp getCreatedDate() { if (createdDateBuilder_ == null) { return createdDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdDate_; } else { return createdDateBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp created_date = 1; */ public Builder setCreatedDate(com.google.protobuf.Timestamp value) { if (createdDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createdDate_ = value; onChanged(); } else { createdDateBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp created_date = 1; */ public Builder setCreatedDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdDateBuilder_ == null) { createdDate_ = builderForValue.build(); onChanged(); } else { createdDateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp created_date = 1; */ public Builder mergeCreatedDate(com.google.protobuf.Timestamp value) { if (createdDateBuilder_ == null) { if (createdDate_ != null) { createdDate_ = com.google.protobuf.Timestamp.newBuilder(createdDate_).mergeFrom(value).buildPartial(); } else { createdDate_ = value; } onChanged(); } else { createdDateBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp created_date = 1; */ public Builder clearCreatedDate() { if (createdDateBuilder_ == null) { createdDate_ = null; onChanged(); } else { createdDate_ = null; createdDateBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp created_date = 1; */ public com.google.protobuf.Timestamp.Builder getCreatedDateBuilder() { onChanged(); return getCreatedDateFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp created_date = 1; */ public com.google.protobuf.TimestampOrBuilder getCreatedDateOrBuilder() { if (createdDateBuilder_ != null) { return createdDateBuilder_.getMessageOrBuilder(); } else { return createdDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdDate_; } } /** * .google.protobuf.Timestamp created_date = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedDateFieldBuilder() { if (createdDateBuilder_ == null) { createdDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreatedDate(), getParentForChildren(), isClean()); createdDate_ = null; } return createdDateBuilder_; } private java.lang.Object createdBy_ = ""; /** * string created_by = 2; * @return The createdBy. */ public java.lang.String getCreatedBy() { java.lang.Object ref = createdBy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createdBy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string created_by = 2; * @return The bytes for createdBy. */ public com.google.protobuf.ByteString getCreatedByBytes() { java.lang.Object ref = createdBy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createdBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string created_by = 2; * @param value The createdBy to set. * @return This builder for chaining. */ public Builder setCreatedBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } createdBy_ = value; onChanged(); return this; } /** * string created_by = 2; * @return This builder for chaining. */ public Builder clearCreatedBy() { createdBy_ = getDefaultInstance().getCreatedBy(); onChanged(); return this; } /** * string created_by = 2; * @param value The bytes for createdBy to set. * @return This builder for chaining. */ public Builder setCreatedByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); createdBy_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp updatedDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedDateBuilder_; /** * .google.protobuf.Timestamp updated_date = 3; * @return Whether the updatedDate field is set. */ public boolean hasUpdatedDate() { return updatedDateBuilder_ != null || updatedDate_ != null; } /** * .google.protobuf.Timestamp updated_date = 3; * @return The updatedDate. */ public com.google.protobuf.Timestamp getUpdatedDate() { if (updatedDateBuilder_ == null) { return updatedDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedDate_; } else { return updatedDateBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp updated_date = 3; */ public Builder setUpdatedDate(com.google.protobuf.Timestamp value) { if (updatedDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updatedDate_ = value; onChanged(); } else { updatedDateBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp updated_date = 3; */ public Builder setUpdatedDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedDateBuilder_ == null) { updatedDate_ = builderForValue.build(); onChanged(); } else { updatedDateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp updated_date = 3; */ public Builder mergeUpdatedDate(com.google.protobuf.Timestamp value) { if (updatedDateBuilder_ == null) { if (updatedDate_ != null) { updatedDate_ = com.google.protobuf.Timestamp.newBuilder(updatedDate_).mergeFrom(value).buildPartial(); } else { updatedDate_ = value; } onChanged(); } else { updatedDateBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp updated_date = 3; */ public Builder clearUpdatedDate() { if (updatedDateBuilder_ == null) { updatedDate_ = null; onChanged(); } else { updatedDate_ = null; updatedDateBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp updated_date = 3; */ public com.google.protobuf.Timestamp.Builder getUpdatedDateBuilder() { onChanged(); return getUpdatedDateFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp updated_date = 3; */ public com.google.protobuf.TimestampOrBuilder getUpdatedDateOrBuilder() { if (updatedDateBuilder_ != null) { return updatedDateBuilder_.getMessageOrBuilder(); } else { return updatedDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedDate_; } } /** * .google.protobuf.Timestamp updated_date = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedDateFieldBuilder() { if (updatedDateBuilder_ == null) { updatedDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdatedDate(), getParentForChildren(), isClean()); updatedDate_ = null; } return updatedDateBuilder_; } private java.lang.Object updatedBy_ = ""; /** * string updated_by = 4; * @return The updatedBy. */ public java.lang.String getUpdatedBy() { java.lang.Object ref = updatedBy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updatedBy_ = s; return s; } else { return (java.lang.String) ref; } } /** * string updated_by = 4; * @return The bytes for updatedBy. */ public com.google.protobuf.ByteString getUpdatedByBytes() { java.lang.Object ref = updatedBy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); updatedBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string updated_by = 4; * @param value The updatedBy to set. * @return This builder for chaining. */ public Builder setUpdatedBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } updatedBy_ = value; onChanged(); return this; } /** * string updated_by = 4; * @return This builder for chaining. */ public Builder clearUpdatedBy() { updatedBy_ = getDefaultInstance().getUpdatedBy(); onChanged(); return this; } /** * string updated_by = 4; * @param value The bytes for updatedBy to set. * @return This builder for chaining. */ public Builder setUpdatedByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); updatedBy_ = value; onChanged(); return this; } private int version_ ; /** * int32 version = 5; * @return The version. */ @java.lang.Override public int getVersion() { return version_; } /** * int32 version = 5; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { version_ = value; onChanged(); return this; } /** * int32 version = 5; * @return This builder for chaining. */ public Builder clearVersion() { version_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 6; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 6; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 6; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 6; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 6; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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:io.provenance.scope.AuditFields) } // @@protoc_insertion_point(class_scope:io.provenance.scope.AuditFields) private static final io.provenance.scope.proto.Util.AuditFields DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.provenance.scope.proto.Util.AuditFields(); } public static io.provenance.scope.proto.Util.AuditFields getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AuditFields parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AuditFields(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.provenance.scope.proto.Util.AuditFields getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_provenance_scope_UUID_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_provenance_scope_UUID_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_provenance_scope_AuditFields_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_provenance_scope_AuditFields_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\nutil.proto\022\023io.provenance.scope\032\037googl" + "e/protobuf/timestamp.proto\"\025\n\004UUID\022\r\n\005va" + "lue\030\001 \001(\t\"\273\001\n\013AuditFields\0220\n\014created_dat" + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022\022\n\nc" + "reated_by\030\002 \001(\t\0220\n\014updated_date\030\003 \001(\0132\032." + "google.protobuf.Timestamp\022\022\n\nupdated_by\030" + "\004 \001(\t\022\017\n\007version\030\005 \001(\005\022\017\n\007message\030\006 \001(\tB" + "\033\n\031io.provenance.scope.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_io_provenance_scope_UUID_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_io_provenance_scope_UUID_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_provenance_scope_UUID_descriptor, new java.lang.String[] { "Value", }); internal_static_io_provenance_scope_AuditFields_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_io_provenance_scope_AuditFields_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_provenance_scope_AuditFields_descriptor, new java.lang.String[] { "CreatedDate", "CreatedBy", "UpdatedDate", "UpdatedBy", "Version", "Message", }); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy