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

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

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

        public CreateWorkstationConfigRequest 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<CreateWorkstationConfigRequest.Builder>
      • getParent

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

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

        public CreateWorkstationConfigRequest.Builder setParent​(String value)
         Required. Parent resource name.
         
        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 CreateWorkstationConfigRequest.Builder clearParent()
         Required. Parent resource name.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateWorkstationConfigRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Parent resource name.
         
        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.
      • getWorkstationConfigIdBytes

        public com.google.protobuf.ByteString getWorkstationConfigIdBytes()
         Required. ID to use for the workstation configuration.
         
        string workstation_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getWorkstationConfigIdBytes in interface CreateWorkstationConfigRequestOrBuilder
        Returns:
        The bytes for workstationConfigId.
      • setWorkstationConfigId

        public CreateWorkstationConfigRequest.Builder setWorkstationConfigId​(String value)
         Required. ID to use for the workstation configuration.
         
        string workstation_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The workstationConfigId to set.
        Returns:
        This builder for chaining.
      • clearWorkstationConfigId

        public CreateWorkstationConfigRequest.Builder clearWorkstationConfigId()
         Required. ID to use for the workstation configuration.
         
        string workstation_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setWorkstationConfigIdBytes

        public CreateWorkstationConfigRequest.Builder setWorkstationConfigIdBytes​(com.google.protobuf.ByteString value)
         Required. ID to use for the workstation configuration.
         
        string workstation_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for workstationConfigId to set.
        Returns:
        This builder for chaining.
      • hasWorkstationConfig

        public boolean hasWorkstationConfig()
         Required. Config to create.
         
        .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasWorkstationConfig in interface CreateWorkstationConfigRequestOrBuilder
        Returns:
        Whether the workstationConfig field is set.
      • clearWorkstationConfig

        public CreateWorkstationConfigRequest.Builder clearWorkstationConfig()
         Required. Config to create.
         
        .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • getWorkstationConfigBuilder

        public WorkstationConfig.Builder getWorkstationConfigBuilder()
         Required. Config to create.
         
        .google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        public boolean getValidateOnly()
         Optional. If set, validate the request and preview the review, but do not
         actually apply it.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getValidateOnly in interface CreateWorkstationConfigRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public CreateWorkstationConfigRequest.Builder setValidateOnly​(boolean value)
         Optional. If set, validate the request and preview the review, but do not
         actually apply it.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public CreateWorkstationConfigRequest.Builder clearValidateOnly()
         Optional. If set, validate the request and preview the review, but do not
         actually apply it.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.