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

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

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

        public NetworkEndpointGroupCloudFunction 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<NetworkEndpointGroupCloudFunction.Builder>
      • hasFunction

        public boolean hasFunction()
         A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
         
        optional string function = 307196888;
        Specified by:
        hasFunction in interface NetworkEndpointGroupCloudFunctionOrBuilder
        Returns:
        Whether the function field is set.
      • getFunction

        public String getFunction()
         A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
         
        optional string function = 307196888;
        Specified by:
        getFunction in interface NetworkEndpointGroupCloudFunctionOrBuilder
        Returns:
        The function.
      • getFunctionBytes

        public com.google.protobuf.ByteString getFunctionBytes()
         A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
         
        optional string function = 307196888;
        Specified by:
        getFunctionBytes in interface NetworkEndpointGroupCloudFunctionOrBuilder
        Returns:
        The bytes for function.
      • setFunction

        public NetworkEndpointGroupCloudFunction.Builder setFunction​(String value)
         A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
         
        optional string function = 307196888;
        Parameters:
        value - The function to set.
        Returns:
        This builder for chaining.
      • clearFunction

        public NetworkEndpointGroupCloudFunction.Builder clearFunction()
         A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
         
        optional string function = 307196888;
        Returns:
        This builder for chaining.
      • setFunctionBytes

        public NetworkEndpointGroupCloudFunction.Builder setFunctionBytes​(com.google.protobuf.ByteString value)
         A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
         
        optional string function = 307196888;
        Parameters:
        value - The bytes for function to set.
        Returns:
        This builder for chaining.
      • hasUrlMask

        public boolean hasUrlMask()
         A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
         
        optional string url_mask = 103352252;
        Specified by:
        hasUrlMask in interface NetworkEndpointGroupCloudFunctionOrBuilder
        Returns:
        Whether the urlMask field is set.
      • getUrlMask

        public String getUrlMask()
         A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
         
        optional string url_mask = 103352252;
        Specified by:
        getUrlMask in interface NetworkEndpointGroupCloudFunctionOrBuilder
        Returns:
        The urlMask.
      • getUrlMaskBytes

        public com.google.protobuf.ByteString getUrlMaskBytes()
         A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
         
        optional string url_mask = 103352252;
        Specified by:
        getUrlMaskBytes in interface NetworkEndpointGroupCloudFunctionOrBuilder
        Returns:
        The bytes for urlMask.
      • setUrlMask

        public NetworkEndpointGroupCloudFunction.Builder setUrlMask​(String value)
         A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
         
        optional string url_mask = 103352252;
        Parameters:
        value - The urlMask to set.
        Returns:
        This builder for chaining.
      • clearUrlMask

        public NetworkEndpointGroupCloudFunction.Builder clearUrlMask()
         A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
         
        optional string url_mask = 103352252;
        Returns:
        This builder for chaining.
      • setUrlMaskBytes

        public NetworkEndpointGroupCloudFunction.Builder setUrlMaskBytes​(com.google.protobuf.ByteString value)
         A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
         
        optional string url_mask = 103352252;
        Parameters:
        value - The bytes for urlMask to set.
        Returns:
        This builder for chaining.