Class Build.Attribute.Selector

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.query2.proto.proto2api.Build.Attribute.Selector
All Implemented Interfaces:
Build.Attribute.SelectorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Build.Attribute

public static final class Build.Attribute.Selector extends com.google.protobuf.GeneratedMessage implements Build.Attribute.SelectorOrBuilder
Protobuf type blaze_query.Attribute.Selector
See Also:
  • Field Details

    • ENTRIES_FIELD_NUMBER

      public static final int ENTRIES_FIELD_NUMBER
      See Also:
    • HAS_DEFAULT_VALUE_FIELD_NUMBER

      public static final int HAS_DEFAULT_VALUE_FIELD_NUMBER
      See Also:
    • NO_MATCH_ERROR_FIELD_NUMBER

      public static final int NO_MATCH_ERROR_FIELD_NUMBER
      See Also:
  • Method Details

    • 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
    • getEntriesList

      public List<Build.Attribute.SelectorEntry> getEntriesList()
       The list of (label, value) pairs in the map that defines the selector.
       At this time, this cannot be empty, i.e. a selector has at least one
       entry.
       
      repeated .blaze_query.Attribute.SelectorEntry entries = 1;
      Specified by:
      getEntriesList in interface Build.Attribute.SelectorOrBuilder
    • getEntriesOrBuilderList

      public List<? extends Build.Attribute.SelectorEntryOrBuilder> getEntriesOrBuilderList()
       The list of (label, value) pairs in the map that defines the selector.
       At this time, this cannot be empty, i.e. a selector has at least one
       entry.
       
      repeated .blaze_query.Attribute.SelectorEntry entries = 1;
      Specified by:
      getEntriesOrBuilderList in interface Build.Attribute.SelectorOrBuilder
    • getEntriesCount

      public int getEntriesCount()
       The list of (label, value) pairs in the map that defines the selector.
       At this time, this cannot be empty, i.e. a selector has at least one
       entry.
       
      repeated .blaze_query.Attribute.SelectorEntry entries = 1;
      Specified by:
      getEntriesCount in interface Build.Attribute.SelectorOrBuilder
    • getEntries

      public Build.Attribute.SelectorEntry getEntries(int index)
       The list of (label, value) pairs in the map that defines the selector.
       At this time, this cannot be empty, i.e. a selector has at least one
       entry.
       
      repeated .blaze_query.Attribute.SelectorEntry entries = 1;
      Specified by:
      getEntries in interface Build.Attribute.SelectorOrBuilder
    • getEntriesOrBuilder

      public Build.Attribute.SelectorEntryOrBuilder getEntriesOrBuilder(int index)
       The list of (label, value) pairs in the map that defines the selector.
       At this time, this cannot be empty, i.e. a selector has at least one
       entry.
       
      repeated .blaze_query.Attribute.SelectorEntry entries = 1;
      Specified by:
      getEntriesOrBuilder in interface Build.Attribute.SelectorOrBuilder
    • hasHasDefaultValue

      public boolean hasHasDefaultValue()
       Whether or not this has any default values.
       
      optional bool has_default_value = 2;
      Specified by:
      hasHasDefaultValue in interface Build.Attribute.SelectorOrBuilder
      Returns:
      Whether the hasDefaultValue field is set.
    • getHasDefaultValue

      public boolean getHasDefaultValue()
       Whether or not this has any default values.
       
      optional bool has_default_value = 2;
      Specified by:
      getHasDefaultValue in interface Build.Attribute.SelectorOrBuilder
      Returns:
      The hasDefaultValue.
    • hasNoMatchError

      public boolean hasNoMatchError()
       The error message when no condition matches.
       
      optional string no_match_error = 3;
      Specified by:
      hasNoMatchError in interface Build.Attribute.SelectorOrBuilder
      Returns:
      Whether the noMatchError field is set.
    • getNoMatchError

      public String getNoMatchError()
       The error message when no condition matches.
       
      optional string no_match_error = 3;
      Specified by:
      getNoMatchError in interface Build.Attribute.SelectorOrBuilder
      Returns:
      The noMatchError.
    • getNoMatchErrorBytes

      public com.google.protobuf.ByteString getNoMatchErrorBytes()
       The error message when no condition matches.
       
      optional string no_match_error = 3;
      Specified by:
      getNoMatchErrorBytes in interface Build.Attribute.SelectorOrBuilder
      Returns:
      The bytes for noMatchError.
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      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(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 Build.Attribute.Selector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Build.Attribute.Selector parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Build.Attribute.Selector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Attribute.Selector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Build.Attribute.Selector.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Build.Attribute.Selector.Builder newBuilder()
    • newBuilder

      public static Build.Attribute.Selector.Builder newBuilder(Build.Attribute.Selector prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Build.Attribute.Selector.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Build.Attribute.Selector getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Build.Attribute.Selector> parser()
    • getParserForType

      public com.google.protobuf.Parser<Build.Attribute.Selector> 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 Build.Attribute.Selector getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder