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

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

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

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

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

        public String getParent()
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateClientGatewayRequest.Builder setParent​(String value)
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateClientGatewayRequest.Builder clearParent()
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateClientGatewayRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getClientGatewayId

        public String getClientGatewayId()
         Optional. User-settable client gateway resource ID.
          * Must start with a letter.
          * Must contain between 4-63 characters from `/[a-z][0-9]-/`.
          * Must end with a number or a letter.
         
        string client_gateway_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClientGatewayId in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The clientGatewayId.
      • getClientGatewayIdBytes

        public com.google.protobuf.ByteString getClientGatewayIdBytes()
         Optional. User-settable client gateway resource ID.
          * Must start with a letter.
          * Must contain between 4-63 characters from `/[a-z][0-9]-/`.
          * Must end with a number or a letter.
         
        string client_gateway_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClientGatewayIdBytes in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The bytes for clientGatewayId.
      • setClientGatewayId

        public CreateClientGatewayRequest.Builder setClientGatewayId​(String value)
         Optional. User-settable client gateway resource ID.
          * Must start with a letter.
          * Must contain between 4-63 characters from `/[a-z][0-9]-/`.
          * Must end with a number or a letter.
         
        string client_gateway_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The clientGatewayId to set.
        Returns:
        This builder for chaining.
      • clearClientGatewayId

        public CreateClientGatewayRequest.Builder clearClientGatewayId()
         Optional. User-settable client gateway resource ID.
          * Must start with a letter.
          * Must contain between 4-63 characters from `/[a-z][0-9]-/`.
          * Must end with a number or a letter.
         
        string client_gateway_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setClientGatewayIdBytes

        public CreateClientGatewayRequest.Builder setClientGatewayIdBytes​(com.google.protobuf.ByteString value)
         Optional. User-settable client gateway resource ID.
          * Must start with a letter.
          * Must contain between 4-63 characters from `/[a-z][0-9]-/`.
          * Must end with a number or a letter.
         
        string client_gateway_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for clientGatewayId to set.
        Returns:
        This builder for chaining.
      • hasClientGateway

        public boolean hasClientGateway()
         Required. The resource being created.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateway = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasClientGateway in interface CreateClientGatewayRequestOrBuilder
        Returns:
        Whether the clientGateway field is set.
      • getClientGateway

        public ClientGateway getClientGateway()
         Required. The resource being created.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateway = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClientGateway in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The clientGateway.
      • setClientGateway

        public CreateClientGatewayRequest.Builder setClientGateway​(ClientGateway value)
         Required. The resource being created.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateway = 3 [(.google.api.field_behavior) = REQUIRED];
      • setClientGateway

        public CreateClientGatewayRequest.Builder setClientGateway​(ClientGateway.Builder builderForValue)
         Required. The resource being created.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateway = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeClientGateway

        public CreateClientGatewayRequest.Builder mergeClientGateway​(ClientGateway value)
         Required. The resource being created.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateway = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearClientGateway

        public CreateClientGatewayRequest.Builder clearClientGateway()
         Required. The resource being created.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateway = 3 [(.google.api.field_behavior) = REQUIRED];
      • getClientGatewayBuilder

        public ClientGateway.Builder getClientGatewayBuilder()
         Required. The resource being created.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway client_gateway = 3 [(.google.api.field_behavior) = REQUIRED];
      • getRequestId

        public String getRequestId()
         Optional. An optional request ID to identify requests. Specify a unique
         request ID so that if you must retry your request, the server will know to
         ignore the request if it has already been completed. The server will
         guarantee that for at least 60 minutes since the first request.
        
         For example, consider a situation where you make an initial request and t
         he request times out. If you make the request again with the same request
         ID, the server can check if original operation with the same request ID
         was received, and if so, will ignore the second request. This prevents
         clients from accidentally creating duplicate commitments.
        
         The request ID must be a valid UUID with the exception that zero UUID is
         not supported (00000000-0000-0000-0000-000000000000).
         
        string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRequestId in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         Optional. An optional request ID to identify requests. Specify a unique
         request ID so that if you must retry your request, the server will know to
         ignore the request if it has already been completed. The server will
         guarantee that for at least 60 minutes since the first request.
        
         For example, consider a situation where you make an initial request and t
         he request times out. If you make the request again with the same request
         ID, the server can check if original operation with the same request ID
         was received, and if so, will ignore the second request. This prevents
         clients from accidentally creating duplicate commitments.
        
         The request ID must be a valid UUID with the exception that zero UUID is
         not supported (00000000-0000-0000-0000-000000000000).
         
        string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRequestIdBytes in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public CreateClientGatewayRequest.Builder setRequestId​(String value)
         Optional. An optional request ID to identify requests. Specify a unique
         request ID so that if you must retry your request, the server will know to
         ignore the request if it has already been completed. The server will
         guarantee that for at least 60 minutes since the first request.
        
         For example, consider a situation where you make an initial request and t
         he request times out. If you make the request again with the same request
         ID, the server can check if original operation with the same request ID
         was received, and if so, will ignore the second request. This prevents
         clients from accidentally creating duplicate commitments.
        
         The request ID must be a valid UUID with the exception that zero UUID is
         not supported (00000000-0000-0000-0000-000000000000).
         
        string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public CreateClientGatewayRequest.Builder clearRequestId()
         Optional. An optional request ID to identify requests. Specify a unique
         request ID so that if you must retry your request, the server will know to
         ignore the request if it has already been completed. The server will
         guarantee that for at least 60 minutes since the first request.
        
         For example, consider a situation where you make an initial request and t
         he request times out. If you make the request again with the same request
         ID, the server can check if original operation with the same request ID
         was received, and if so, will ignore the second request. This prevents
         clients from accidentally creating duplicate commitments.
        
         The request ID must be a valid UUID with the exception that zero UUID is
         not supported (00000000-0000-0000-0000-000000000000).
         
        string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public CreateClientGatewayRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         Optional. An optional request ID to identify requests. Specify a unique
         request ID so that if you must retry your request, the server will know to
         ignore the request if it has already been completed. The server will
         guarantee that for at least 60 minutes since the first request.
        
         For example, consider a situation where you make an initial request and t
         he request times out. If you make the request again with the same request
         ID, the server can check if original operation with the same request ID
         was received, and if so, will ignore the second request. This prevents
         clients from accidentally creating duplicate commitments.
        
         The request ID must be a valid UUID with the exception that zero UUID is
         not supported (00000000-0000-0000-0000-000000000000).
         
        string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • getValidateOnly

        public boolean getValidateOnly()
         Optional. If set, validates request by executing a dry-run which would not
         alter the resource in any way.
         
        bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getValidateOnly in interface CreateClientGatewayRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public CreateClientGatewayRequest.Builder setValidateOnly​(boolean value)
         Optional. If set, validates request by executing a dry-run which would not
         alter the resource in any way.
         
        bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public CreateClientGatewayRequest.Builder clearValidateOnly()
         Optional. If set, validates request by executing a dry-run which would not
         alter the resource in any way.
         
        bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateClientGatewayRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClientGatewayRequest.Builder>
      • mergeUnknownFields

        public final CreateClientGatewayRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClientGatewayRequest.Builder>