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

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

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

        public AllowedCloudNamespacePolicySpec 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<AllowedCloudNamespacePolicySpec.Builder>
      • mergeFrom

        public AllowedCloudNamespacePolicySpec.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<AllowedCloudNamespacePolicySpec.Builder>
        Throws:
        java.io.IOException
      • getNamespaceId

        public java.lang.String getNamespaceId()
         The namespace that is allowed to call into this endpoint. Calling namespace must be in same account as the endpoint.
         
        string namespace_id = 1;
        Specified by:
        getNamespaceId in interface AllowedCloudNamespacePolicySpecOrBuilder
        Returns:
        The namespaceId.
      • getNamespaceIdBytes

        public com.google.protobuf.ByteString getNamespaceIdBytes()
         The namespace that is allowed to call into this endpoint. Calling namespace must be in same account as the endpoint.
         
        string namespace_id = 1;
        Specified by:
        getNamespaceIdBytes in interface AllowedCloudNamespacePolicySpecOrBuilder
        Returns:
        The bytes for namespaceId.
      • setNamespaceId

        public AllowedCloudNamespacePolicySpec.Builder setNamespaceId​(java.lang.String value)
         The namespace that is allowed to call into this endpoint. Calling namespace must be in same account as the endpoint.
         
        string namespace_id = 1;
        Parameters:
        value - The namespaceId to set.
        Returns:
        This builder for chaining.
      • clearNamespaceId

        public AllowedCloudNamespacePolicySpec.Builder clearNamespaceId()
         The namespace that is allowed to call into this endpoint. Calling namespace must be in same account as the endpoint.
         
        string namespace_id = 1;
        Returns:
        This builder for chaining.
      • setNamespaceIdBytes

        public AllowedCloudNamespacePolicySpec.Builder setNamespaceIdBytes​(com.google.protobuf.ByteString value)
         The namespace that is allowed to call into this endpoint. Calling namespace must be in same account as the endpoint.
         
        string namespace_id = 1;
        Parameters:
        value - The bytes for namespaceId to set.
        Returns:
        This builder for chaining.