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

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

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

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

        public UpdateWorkstationRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkstationRequest.Builder>
      • addRepeatedField

        public UpdateWorkstationRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkstationRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkstationRequest.Builder>
      • mergeFrom

        public UpdateWorkstationRequest.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<UpdateWorkstationRequest.Builder>
        Throws:
        IOException
      • hasWorkstation

        public boolean hasWorkstation()
         Required. Workstation to update.
         
        .google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasWorkstation in interface UpdateWorkstationRequestOrBuilder
        Returns:
        Whether the workstation field is set.
      • getWorkstation

        public Workstation getWorkstation()
         Required. Workstation to update.
         
        .google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getWorkstation in interface UpdateWorkstationRequestOrBuilder
        Returns:
        The workstation.
      • setWorkstation

        public UpdateWorkstationRequest.Builder setWorkstation​(Workstation value)
         Required. Workstation to update.
         
        .google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeWorkstation

        public UpdateWorkstationRequest.Builder mergeWorkstation​(Workstation value)
         Required. Workstation to update.
         
        .google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearWorkstation

        public UpdateWorkstationRequest.Builder clearWorkstation()
         Required. Workstation to update.
         
        .google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
      • getWorkstationBuilder

        public Workstation.Builder getWorkstationBuilder()
         Required. Workstation to update.
         
        .google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateWorkstationRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateWorkstationRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateWorkstationRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateWorkstationRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public UpdateWorkstationRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public UpdateWorkstationRequest.Builder clearUpdateMask()
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Mask specifying which fields in the workstation configuration
         should be updated.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateWorkstationRequestOrBuilder
      • getValidateOnly

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

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

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

        public boolean getAllowMissing()
         Optional. If set and the workstation configuration is not found, a new
         workstation configuration is created. In this situation, update_mask
         is ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAllowMissing in interface UpdateWorkstationRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public UpdateWorkstationRequest.Builder setAllowMissing​(boolean value)
         Optional. If set and the workstation configuration is not found, a new
         workstation configuration is created. In this situation, update_mask
         is ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The allowMissing to set.
        Returns:
        This builder for chaining.
      • clearAllowMissing

        public UpdateWorkstationRequest.Builder clearAllowMissing()
         Optional. If set and the workstation configuration is not found, a new
         workstation configuration is created. In this situation, update_mask
         is ignored.
         
        bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpdateWorkstationRequest.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<UpdateWorkstationRequest.Builder>
      • mergeUnknownFields

        public final UpdateWorkstationRequest.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<UpdateWorkstationRequest.Builder>