Class CustomConfig.ResourceSelector.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConfig.ResourceSelector.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConfig.ResourceSelector.Builder>
      • getDefaultInstanceForType

        public CustomConfig.ResourceSelector getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CustomConfig.ResourceSelector build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CustomConfig.ResourceSelector buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomConfig.ResourceSelector.Builder>
      • mergeFrom

        public CustomConfig.ResourceSelector.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomConfig.ResourceSelector.Builder>
        Throws:
        IOException
      • getResourceTypesList

        public com.google.protobuf.ProtocolStringList getResourceTypesList()
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Specified by:
        getResourceTypesList in interface CustomConfig.ResourceSelectorOrBuilder
        Returns:
        A list containing the resourceTypes.
      • getResourceTypes

        public String getResourceTypes​(int index)
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Specified by:
        getResourceTypes in interface CustomConfig.ResourceSelectorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resourceTypes at the given index.
      • getResourceTypesBytes

        public com.google.protobuf.ByteString getResourceTypesBytes​(int index)
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Specified by:
        getResourceTypesBytes in interface CustomConfig.ResourceSelectorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resourceTypes at the given index.
      • setResourceTypes

        public CustomConfig.ResourceSelector.Builder setResourceTypes​(int index,
                                                                      String value)
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Parameters:
        index - The index to set the value at.
        value - The resourceTypes to set.
        Returns:
        This builder for chaining.
      • addResourceTypes

        public CustomConfig.ResourceSelector.Builder addResourceTypes​(String value)
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Parameters:
        value - The resourceTypes to add.
        Returns:
        This builder for chaining.
      • addAllResourceTypes

        public CustomConfig.ResourceSelector.Builder addAllResourceTypes​(Iterable<String> values)
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Parameters:
        values - The resourceTypes to add.
        Returns:
        This builder for chaining.
      • clearResourceTypes

        public CustomConfig.ResourceSelector.Builder clearResourceTypes()
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Returns:
        This builder for chaining.
      • addResourceTypesBytes

        public CustomConfig.ResourceSelector.Builder addResourceTypesBytes​(com.google.protobuf.ByteString value)
         The resource types to run the detector on.
         
        repeated string resource_types = 1;
        Parameters:
        value - The bytes of the resourceTypes to add.
        Returns:
        This builder for chaining.