Class PolicyOuterClass.TestTable.Input.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<PolicyOuterClass.TestTable.Input.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<PolicyOuterClass.TestTable.Input.Builder>
      • getDefaultInstanceForType

        public PolicyOuterClass.TestTable.Input getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PolicyOuterClass.TestTable.Input build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PolicyOuterClass.TestTable.Input 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<PolicyOuterClass.TestTable.Input.Builder>
      • mergeFrom

        public PolicyOuterClass.TestTable.Input.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<PolicyOuterClass.TestTable.Input.Builder>
        Throws:
        java.io.IOException
      • getPrincipals

        public java.lang.String getPrincipals​(int index)
        repeated string principals = 1 [(.validate.rules) = { ... }
        Specified by:
        getPrincipals in interface PolicyOuterClass.TestTable.InputOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The principals at the given index.
      • getPrincipalsBytes

        public com.google.protobuf.ByteString getPrincipalsBytes​(int index)
        repeated string principals = 1 [(.validate.rules) = { ... }
        Specified by:
        getPrincipalsBytes in interface PolicyOuterClass.TestTable.InputOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the principals at the given index.
      • setPrincipals

        public PolicyOuterClass.TestTable.Input.Builder setPrincipals​(int index,
                                                                      java.lang.String value)
        repeated string principals = 1 [(.validate.rules) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The principals to set.
        Returns:
        This builder for chaining.
      • addPrincipals

        public PolicyOuterClass.TestTable.Input.Builder addPrincipals​(java.lang.String value)
        repeated string principals = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The principals to add.
        Returns:
        This builder for chaining.
      • addAllPrincipals

        public PolicyOuterClass.TestTable.Input.Builder addAllPrincipals​(java.lang.Iterable<java.lang.String> values)
        repeated string principals = 1 [(.validate.rules) = { ... }
        Parameters:
        values - The principals to add.
        Returns:
        This builder for chaining.
      • addPrincipalsBytes

        public PolicyOuterClass.TestTable.Input.Builder addPrincipalsBytes​(com.google.protobuf.ByteString value)
        repeated string principals = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes of the principals to add.
        Returns:
        This builder for chaining.
      • getResources

        public java.lang.String getResources​(int index)
        repeated string resources = 2 [(.validate.rules) = { ... }
        Specified by:
        getResources in interface PolicyOuterClass.TestTable.InputOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resources at the given index.
      • getResourcesBytes

        public com.google.protobuf.ByteString getResourcesBytes​(int index)
        repeated string resources = 2 [(.validate.rules) = { ... }
        Specified by:
        getResourcesBytes in interface PolicyOuterClass.TestTable.InputOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resources at the given index.
      • setResources

        public PolicyOuterClass.TestTable.Input.Builder setResources​(int index,
                                                                     java.lang.String value)
        repeated string resources = 2 [(.validate.rules) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The resources to set.
        Returns:
        This builder for chaining.
      • addResources

        public PolicyOuterClass.TestTable.Input.Builder addResources​(java.lang.String value)
        repeated string resources = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The resources to add.
        Returns:
        This builder for chaining.
      • addAllResources

        public PolicyOuterClass.TestTable.Input.Builder addAllResources​(java.lang.Iterable<java.lang.String> values)
        repeated string resources = 2 [(.validate.rules) = { ... }
        Parameters:
        values - The resources to add.
        Returns:
        This builder for chaining.
      • addResourcesBytes

        public PolicyOuterClass.TestTable.Input.Builder addResourcesBytes​(com.google.protobuf.ByteString value)
        repeated string resources = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes of the resources to add.
        Returns:
        This builder for chaining.
      • getActions

        public java.lang.String getActions​(int index)
        repeated string actions = 3 [(.validate.rules) = { ... }
        Specified by:
        getActions in interface PolicyOuterClass.TestTable.InputOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The actions at the given index.
      • getActionsBytes

        public com.google.protobuf.ByteString getActionsBytes​(int index)
        repeated string actions = 3 [(.validate.rules) = { ... }
        Specified by:
        getActionsBytes in interface PolicyOuterClass.TestTable.InputOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the actions at the given index.
      • setActions

        public PolicyOuterClass.TestTable.Input.Builder setActions​(int index,
                                                                   java.lang.String value)
        repeated string actions = 3 [(.validate.rules) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The actions to set.
        Returns:
        This builder for chaining.
      • addActions

        public PolicyOuterClass.TestTable.Input.Builder addActions​(java.lang.String value)
        repeated string actions = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The actions to add.
        Returns:
        This builder for chaining.
      • addAllActions

        public PolicyOuterClass.TestTable.Input.Builder addAllActions​(java.lang.Iterable<java.lang.String> values)
        repeated string actions = 3 [(.validate.rules) = { ... }
        Parameters:
        values - The actions to add.
        Returns:
        This builder for chaining.
      • addActionsBytes

        public PolicyOuterClass.TestTable.Input.Builder addActionsBytes​(com.google.protobuf.ByteString value)
        repeated string actions = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes of the actions to add.
        Returns:
        This builder for chaining.
      • setAuxDataBytes

        public PolicyOuterClass.TestTable.Input.Builder setAuxDataBytes​(com.google.protobuf.ByteString value)
        string aux_data = 4;
        Parameters:
        value - The bytes for auxData to set.
        Returns:
        This builder for chaining.