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

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

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

        public DisksAddResourcePoliciesRequest 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<DisksAddResourcePoliciesRequest.Builder>
      • getResourcePoliciesList

        public com.google.protobuf.ProtocolStringList getResourcePoliciesList()
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Specified by:
        getResourcePoliciesList in interface DisksAddResourcePoliciesRequestOrBuilder
        Returns:
        A list containing the resourcePolicies.
      • getResourcePoliciesCount

        public int getResourcePoliciesCount()
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Specified by:
        getResourcePoliciesCount in interface DisksAddResourcePoliciesRequestOrBuilder
        Returns:
        The count of resourcePolicies.
      • getResourcePolicies

        public String getResourcePolicies​(int index)
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Specified by:
        getResourcePolicies in interface DisksAddResourcePoliciesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resourcePolicies at the given index.
      • getResourcePoliciesBytes

        public com.google.protobuf.ByteString getResourcePoliciesBytes​(int index)
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Specified by:
        getResourcePoliciesBytes in interface DisksAddResourcePoliciesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resourcePolicies at the given index.
      • setResourcePolicies

        public DisksAddResourcePoliciesRequest.Builder setResourcePolicies​(int index,
                                                                           String value)
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Parameters:
        index - The index to set the value at.
        value - The resourcePolicies to set.
        Returns:
        This builder for chaining.
      • addResourcePolicies

        public DisksAddResourcePoliciesRequest.Builder addResourcePolicies​(String value)
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Parameters:
        value - The resourcePolicies to add.
        Returns:
        This builder for chaining.
      • addAllResourcePolicies

        public DisksAddResourcePoliciesRequest.Builder addAllResourcePolicies​(Iterable<String> values)
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Parameters:
        values - The resourcePolicies to add.
        Returns:
        This builder for chaining.
      • clearResourcePolicies

        public DisksAddResourcePoliciesRequest.Builder clearResourcePolicies()
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Returns:
        This builder for chaining.
      • addResourcePoliciesBytes

        public DisksAddResourcePoliciesRequest.Builder addResourcePoliciesBytes​(com.google.protobuf.ByteString value)
         Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
         
        repeated string resource_policies = 22220385;
        Parameters:
        value - The bytes of the resourcePolicies to add.
        Returns:
        This builder for chaining.