Class CheckResponse.CheckInfo.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<CheckResponse.CheckInfo.Builder>
      • clear

        public CheckResponse.CheckInfo.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.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<CheckResponse.CheckInfo.Builder>
      • getDefaultInstanceForType

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

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

        public CheckResponse.CheckInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public CheckResponse.CheckInfo.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder>
      • clearField

        public CheckResponse.CheckInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder>
      • clearOneof

        public CheckResponse.CheckInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder>
      • setRepeatedField

        public CheckResponse.CheckInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder>
      • addRepeatedField

        public CheckResponse.CheckInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder>
      • isInitialized

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

        public CheckResponse.CheckInfo.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<CheckResponse.CheckInfo.Builder>
        Throws:
        IOException
      • getUnusedArgumentsList

        public com.google.protobuf.ProtocolStringList getUnusedArgumentsList()
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Specified by:
        getUnusedArgumentsList in interface CheckResponse.CheckInfoOrBuilder
        Returns:
        A list containing the unusedArguments.
      • getUnusedArgumentsCount

        public int getUnusedArgumentsCount()
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Specified by:
        getUnusedArgumentsCount in interface CheckResponse.CheckInfoOrBuilder
        Returns:
        The count of unusedArguments.
      • getUnusedArguments

        public String getUnusedArguments​(int index)
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Specified by:
        getUnusedArguments in interface CheckResponse.CheckInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unusedArguments at the given index.
      • getUnusedArgumentsBytes

        public com.google.protobuf.ByteString getUnusedArgumentsBytes​(int index)
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Specified by:
        getUnusedArgumentsBytes in interface CheckResponse.CheckInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unusedArguments at the given index.
      • setUnusedArguments

        public CheckResponse.CheckInfo.Builder setUnusedArguments​(int index,
                                                                  String value)
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Parameters:
        index - The index to set the value at.
        value - The unusedArguments to set.
        Returns:
        This builder for chaining.
      • addUnusedArguments

        public CheckResponse.CheckInfo.Builder addUnusedArguments​(String value)
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Parameters:
        value - The unusedArguments to add.
        Returns:
        This builder for chaining.
      • addAllUnusedArguments

        public CheckResponse.CheckInfo.Builder addAllUnusedArguments​(Iterable<String> values)
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Parameters:
        values - The unusedArguments to add.
        Returns:
        This builder for chaining.
      • clearUnusedArguments

        public CheckResponse.CheckInfo.Builder clearUnusedArguments()
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Returns:
        This builder for chaining.
      • addUnusedArgumentsBytes

        public CheckResponse.CheckInfo.Builder addUnusedArgumentsBytes​(com.google.protobuf.ByteString value)
         A list of fields and label keys that are ignored by the server.
         The client doesn't need to send them for following requests to improve
         performance and allow better aggregation.
         
        repeated string unused_arguments = 1;
        Parameters:
        value - The bytes of the unusedArguments to add.
        Returns:
        This builder for chaining.
      • hasConsumerInfo

        public boolean hasConsumerInfo()
         Consumer info of this check.
         
        .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
        Specified by:
        hasConsumerInfo in interface CheckResponse.CheckInfoOrBuilder
        Returns:
        Whether the consumerInfo field is set.
      • clearConsumerInfo

        public CheckResponse.CheckInfo.Builder clearConsumerInfo()
         Consumer info of this check.
         
        .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
      • getConsumerInfoBuilder

        public CheckResponse.ConsumerInfo.Builder getConsumerInfoBuilder()
         Consumer info of this check.
         
        .google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
      • setUnknownFields

        public final CheckResponse.CheckInfo.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder>
      • mergeUnknownFields

        public final CheckResponse.CheckInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder>