Class Validate.BytesRules

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Validate.BytesRulesOrBuilder, java.io.Serializable
    Enclosing class:
    Validate

    public static final class Validate.BytesRules
    extends com.google.protobuf.GeneratedMessage
    implements Validate.BytesRulesOrBuilder
     BytesRules describe the constraints applied to `bytes` values
     
    Protobuf type validate.BytesRules
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Validate.BytesRules.Builder
      BytesRules describe the constraints applied to `bytes` values
      static class  Validate.BytesRules.WellKnownCase  
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

        com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,​T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

        com.google.protobuf.AbstractMessage.BuilderParent
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BytesRules()  
      private BytesRules​(com.google.protobuf.GeneratedMessage.Builder<?> builder)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      com.google.protobuf.ByteString getConst()
      Const specifies that this field must be exactly the specified value
      com.google.protobuf.ByteString getContains()
      Contains specifies that this field must have the specified bytes anywhere in the string.
      static Validate.BytesRules getDefaultInstance()  
      Validate.BytesRules getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      boolean getIgnoreEmpty()
      IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
      com.google.protobuf.ByteString getIn​(int index)
      In specifies that this field must be equal to one of the specified values
      int getInCount()
      In specifies that this field must be equal to one of the specified values
      java.util.List<com.google.protobuf.ByteString> getInList()
      In specifies that this field must be equal to one of the specified values
      boolean getIp()
      Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
      boolean getIpv4()
      Ipv4 specifies that the field must be a valid IPv4 address in byte format
      boolean getIpv6()
      Ipv6 specifies that the field must be a valid IPv6 address in byte format
      long getLen()
      Len specifies that this field must be the specified number of bytes
      long getMaxLen()
      MaxLen specifies that this field must be the specified number of bytes at a maximum
      long getMinLen()
      MinLen specifies that this field must be the specified number of bytes at a minimum
      com.google.protobuf.ByteString getNotIn​(int index)
      NotIn specifies that this field cannot be equal to one of the specified values
      int getNotInCount()
      NotIn specifies that this field cannot be equal to one of the specified values
      java.util.List<com.google.protobuf.ByteString> getNotInList()
      NotIn specifies that this field cannot be equal to one of the specified values
      com.google.protobuf.Parser<Validate.BytesRules> getParserForType()  
      java.lang.String getPattern()
      Pattern specifes that this field must match against the specified regular expression (RE2 syntax).
      com.google.protobuf.ByteString getPatternBytes()
      Pattern specifes that this field must match against the specified regular expression (RE2 syntax).
      com.google.protobuf.ByteString getPrefix()
      Prefix specifies that this field must have the specified bytes at the beginning of the string.
      int getSerializedSize()  
      com.google.protobuf.ByteString getSuffix()
      Suffix specifies that this field must have the specified bytes at the end of the string.
      Validate.BytesRules.WellKnownCase getWellKnownCase()  
      boolean hasConst()
      Const specifies that this field must be exactly the specified value
      boolean hasContains()
      Contains specifies that this field must have the specified bytes anywhere in the string.
      int hashCode()  
      boolean hasIgnoreEmpty()
      IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
      boolean hasIp()
      Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
      boolean hasIpv4()
      Ipv4 specifies that the field must be a valid IPv4 address in byte format
      boolean hasIpv6()
      Ipv6 specifies that the field must be a valid IPv6 address in byte format
      boolean hasLen()
      Len specifies that this field must be the specified number of bytes
      boolean hasMaxLen()
      MaxLen specifies that this field must be the specified number of bytes at a maximum
      boolean hasMinLen()
      MinLen specifies that this field must be the specified number of bytes at a minimum
      boolean hasPattern()
      Pattern specifes that this field must match against the specified regular expression (RE2 syntax).
      boolean hasPrefix()
      Prefix specifies that this field must have the specified bytes at the beginning of the string.
      boolean hasSuffix()
      Suffix specifies that this field must have the specified bytes at the end of the string.
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static Validate.BytesRules.Builder newBuilder()  
      static Validate.BytesRules.Builder newBuilder​(Validate.BytesRules prototype)  
      Validate.BytesRules.Builder newBuilderForType()  
      protected Validate.BytesRules.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)  
      static Validate.BytesRules parseDelimitedFrom​(java.io.InputStream input)  
      static Validate.BytesRules parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Validate.BytesRules parseFrom​(byte[] data)  
      static Validate.BytesRules parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Validate.BytesRules parseFrom​(com.google.protobuf.ByteString data)  
      static Validate.BytesRules parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Validate.BytesRules parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Validate.BytesRules parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Validate.BytesRules parseFrom​(java.io.InputStream input)  
      static Validate.BytesRules parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Validate.BytesRules parseFrom​(java.nio.ByteBuffer data)  
      static Validate.BytesRules parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Validate.BytesRules> parser()  
      Validate.BytesRules.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessage

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashFields, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Field Detail

      • bitField0_

        private int bitField0_
      • wellKnownCase_

        private int wellKnownCase_
      • wellKnown_

        private java.lang.Object wellKnown_
      • const_

        private com.google.protobuf.ByteString const_
      • len_

        private long len_
      • minLen_

        private long minLen_
      • maxLen_

        private long maxLen_
      • pattern_

        private volatile java.lang.Object pattern_
      • prefix_

        private com.google.protobuf.ByteString prefix_
      • suffix_

        private com.google.protobuf.ByteString suffix_
      • contains_

        private com.google.protobuf.ByteString contains_
      • in_

        private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> in_
      • notIn_

        private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> notIn_
      • IGNORE_EMPTY_FIELD_NUMBER

        public static final int IGNORE_EMPTY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ignoreEmpty_

        private boolean ignoreEmpty_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • BytesRules

        private BytesRules​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • BytesRules

        private BytesRules()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasConst

        public boolean hasConst()
         Const specifies that this field must be exactly the specified value
         
        optional bytes const = 1;
        Specified by:
        hasConst in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the const field is set.
      • getConst

        public com.google.protobuf.ByteString getConst()
         Const specifies that this field must be exactly the specified value
         
        optional bytes const = 1;
        Specified by:
        getConst in interface Validate.BytesRulesOrBuilder
        Returns:
        The const.
      • hasLen

        public boolean hasLen()
         Len specifies that this field must be the specified number of bytes
         
        optional uint64 len = 13;
        Specified by:
        hasLen in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the len field is set.
      • getLen

        public long getLen()
         Len specifies that this field must be the specified number of bytes
         
        optional uint64 len = 13;
        Specified by:
        getLen in interface Validate.BytesRulesOrBuilder
        Returns:
        The len.
      • hasMinLen

        public boolean hasMinLen()
         MinLen specifies that this field must be the specified number of bytes
         at a minimum
         
        optional uint64 min_len = 2;
        Specified by:
        hasMinLen in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the minLen field is set.
      • getMinLen

        public long getMinLen()
         MinLen specifies that this field must be the specified number of bytes
         at a minimum
         
        optional uint64 min_len = 2;
        Specified by:
        getMinLen in interface Validate.BytesRulesOrBuilder
        Returns:
        The minLen.
      • hasMaxLen

        public boolean hasMaxLen()
         MaxLen specifies that this field must be the specified number of bytes
         at a maximum
         
        optional uint64 max_len = 3;
        Specified by:
        hasMaxLen in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the maxLen field is set.
      • getMaxLen

        public long getMaxLen()
         MaxLen specifies that this field must be the specified number of bytes
         at a maximum
         
        optional uint64 max_len = 3;
        Specified by:
        getMaxLen in interface Validate.BytesRulesOrBuilder
        Returns:
        The maxLen.
      • hasPattern

        public boolean hasPattern()
         Pattern specifes that this field must match against the specified
         regular expression (RE2 syntax). The included expression should elide
         any delimiters.
         
        optional string pattern = 4;
        Specified by:
        hasPattern in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the pattern field is set.
      • getPattern

        public java.lang.String getPattern()
         Pattern specifes that this field must match against the specified
         regular expression (RE2 syntax). The included expression should elide
         any delimiters.
         
        optional string pattern = 4;
        Specified by:
        getPattern in interface Validate.BytesRulesOrBuilder
        Returns:
        The pattern.
      • getPatternBytes

        public com.google.protobuf.ByteString getPatternBytes()
         Pattern specifes that this field must match against the specified
         regular expression (RE2 syntax). The included expression should elide
         any delimiters.
         
        optional string pattern = 4;
        Specified by:
        getPatternBytes in interface Validate.BytesRulesOrBuilder
        Returns:
        The bytes for pattern.
      • hasPrefix

        public boolean hasPrefix()
         Prefix specifies that this field must have the specified bytes at the
         beginning of the string.
         
        optional bytes prefix = 5;
        Specified by:
        hasPrefix in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the prefix field is set.
      • getPrefix

        public com.google.protobuf.ByteString getPrefix()
         Prefix specifies that this field must have the specified bytes at the
         beginning of the string.
         
        optional bytes prefix = 5;
        Specified by:
        getPrefix in interface Validate.BytesRulesOrBuilder
        Returns:
        The prefix.
      • hasSuffix

        public boolean hasSuffix()
         Suffix specifies that this field must have the specified bytes at the
         end of the string.
         
        optional bytes suffix = 6;
        Specified by:
        hasSuffix in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the suffix field is set.
      • getSuffix

        public com.google.protobuf.ByteString getSuffix()
         Suffix specifies that this field must have the specified bytes at the
         end of the string.
         
        optional bytes suffix = 6;
        Specified by:
        getSuffix in interface Validate.BytesRulesOrBuilder
        Returns:
        The suffix.
      • hasContains

        public boolean hasContains()
         Contains specifies that this field must have the specified bytes
         anywhere in the string.
         
        optional bytes contains = 7;
        Specified by:
        hasContains in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the contains field is set.
      • getContains

        public com.google.protobuf.ByteString getContains()
         Contains specifies that this field must have the specified bytes
         anywhere in the string.
         
        optional bytes contains = 7;
        Specified by:
        getContains in interface Validate.BytesRulesOrBuilder
        Returns:
        The contains.
      • getInList

        public java.util.List<com.google.protobuf.ByteString> getInList()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated bytes in = 8;
        Specified by:
        getInList in interface Validate.BytesRulesOrBuilder
        Returns:
        A list containing the in.
      • getInCount

        public int getInCount()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated bytes in = 8;
        Specified by:
        getInCount in interface Validate.BytesRulesOrBuilder
        Returns:
        The count of in.
      • getIn

        public com.google.protobuf.ByteString getIn​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated bytes in = 8;
        Specified by:
        getIn in interface Validate.BytesRulesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The in at the given index.
      • getNotInList

        public java.util.List<com.google.protobuf.ByteString> getNotInList()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated bytes not_in = 9;
        Specified by:
        getNotInList in interface Validate.BytesRulesOrBuilder
        Returns:
        A list containing the notIn.
      • getNotInCount

        public int getNotInCount()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated bytes not_in = 9;
        Specified by:
        getNotInCount in interface Validate.BytesRulesOrBuilder
        Returns:
        The count of notIn.
      • getNotIn

        public com.google.protobuf.ByteString getNotIn​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated bytes not_in = 9;
        Specified by:
        getNotIn in interface Validate.BytesRulesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The notIn at the given index.
      • hasIp

        public boolean hasIp()
         Ip specifies that the field must be a valid IP (v4 or v6) address in
         byte format
         
        bool ip = 10;
        Specified by:
        hasIp in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the ip field is set.
      • getIp

        public boolean getIp()
         Ip specifies that the field must be a valid IP (v4 or v6) address in
         byte format
         
        bool ip = 10;
        Specified by:
        getIp in interface Validate.BytesRulesOrBuilder
        Returns:
        The ip.
      • hasIpv4

        public boolean hasIpv4()
         Ipv4 specifies that the field must be a valid IPv4 address in byte
         format
         
        bool ipv4 = 11;
        Specified by:
        hasIpv4 in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the ipv4 field is set.
      • getIpv4

        public boolean getIpv4()
         Ipv4 specifies that the field must be a valid IPv4 address in byte
         format
         
        bool ipv4 = 11;
        Specified by:
        getIpv4 in interface Validate.BytesRulesOrBuilder
        Returns:
        The ipv4.
      • hasIpv6

        public boolean hasIpv6()
         Ipv6 specifies that the field must be a valid IPv6 address in byte
         format
         
        bool ipv6 = 12;
        Specified by:
        hasIpv6 in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the ipv6 field is set.
      • getIpv6

        public boolean getIpv6()
         Ipv6 specifies that the field must be a valid IPv6 address in byte
         format
         
        bool ipv6 = 12;
        Specified by:
        getIpv6 in interface Validate.BytesRulesOrBuilder
        Returns:
        The ipv6.
      • hasIgnoreEmpty

        public boolean hasIgnoreEmpty()
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 14;
        Specified by:
        hasIgnoreEmpty in interface Validate.BytesRulesOrBuilder
        Returns:
        Whether the ignoreEmpty field is set.
      • getIgnoreEmpty

        public boolean getIgnoreEmpty()
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 14;
        Specified by:
        getIgnoreEmpty in interface Validate.BytesRulesOrBuilder
        Returns:
        The ignoreEmpty.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Validate.BytesRules parseFrom​(java.nio.ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Validate.BytesRules parseFrom​(java.nio.ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Validate.BytesRules parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Validate.BytesRules parseFrom​(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Validate.BytesRules parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Validate.BytesRules parseFrom​(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Validate.BytesRules parseFrom​(java.io.InputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Validate.BytesRules parseFrom​(java.io.InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Validate.BytesRules parseDelimitedFrom​(java.io.InputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Validate.BytesRules parseDelimitedFrom​(java.io.InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Validate.BytesRules parseFrom​(com.google.protobuf.CodedInputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Validate.BytesRules parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Validate.BytesRules.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Validate.BytesRules.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Validate.BytesRules.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<Validate.BytesRules> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public Validate.BytesRules getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder