Class Response.ListPoliciesResponse.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<Response.ListPoliciesResponse.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<Response.ListPoliciesResponse.Builder>
      • getDefaultInstanceForType

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

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

        public Response.ListPoliciesResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

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

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

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

        public Response.ListPoliciesResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.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<Response.ListPoliciesResponse.Builder>
        Throws:
        java.io.IOException
      • getPolicyIds

        public java.lang.String getPolicyIds​(int index)
        repeated string policy_ids = 1;
        Specified by:
        getPolicyIds in interface Response.ListPoliciesResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The policyIds at the given index.
      • getPolicyIdsBytes

        public com.google.protobuf.ByteString getPolicyIdsBytes​(int index)
        repeated string policy_ids = 1;
        Specified by:
        getPolicyIdsBytes in interface Response.ListPoliciesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the policyIds at the given index.
      • setPolicyIds

        public Response.ListPoliciesResponse.Builder setPolicyIds​(int index,
                                                                  java.lang.String value)
        repeated string policy_ids = 1;
        Parameters:
        index - The index to set the value at.
        value - The policyIds to set.
        Returns:
        This builder for chaining.
      • addPolicyIds

        public Response.ListPoliciesResponse.Builder addPolicyIds​(java.lang.String value)
        repeated string policy_ids = 1;
        Parameters:
        value - The policyIds to add.
        Returns:
        This builder for chaining.
      • addAllPolicyIds

        public Response.ListPoliciesResponse.Builder addAllPolicyIds​(java.lang.Iterable<java.lang.String> values)
        repeated string policy_ids = 1;
        Parameters:
        values - The policyIds to add.
        Returns:
        This builder for chaining.
      • addPolicyIdsBytes

        public Response.ListPoliciesResponse.Builder addPolicyIdsBytes​(com.google.protobuf.ByteString value)
        repeated string policy_ids = 1;
        Parameters:
        value - The bytes of the policyIds to add.
        Returns:
        This builder for chaining.