Class UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • clear

        public UpdateFeatureRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateFeatureRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
      • setField

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

        public UpdateFeatureRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
      • clearOneof

        public UpdateFeatureRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
      • setRepeatedField

        public UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • addRepeatedField

        public UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • isInitialized

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

        public UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The Feature resource name in the format
         `projects/*/locations/*/features/*`.
         
        string name = 1;
        Specified by:
        getName in interface UpdateFeatureRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The Feature resource name in the format
         `projects/*/locations/*/features/*`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface UpdateFeatureRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public UpdateFeatureRequest.Builder setName​(String value)
         The Feature resource name in the format
         `projects/*/locations/*/features/*`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public UpdateFeatureRequest.Builder clearName()
         The Feature resource name in the format
         `projects/*/locations/*/features/*`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public UpdateFeatureRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The Feature resource name in the format
         `projects/*/locations/*/features/*`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasUpdateMask

        public boolean hasUpdateMask()
         Mask of fields to update.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        hasUpdateMask in interface UpdateFeatureRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Mask of fields to update.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMask in interface UpdateFeatureRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateFeatureRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Mask of fields to update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdateFeatureRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Mask of fields to update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdateFeatureRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Mask of fields to update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • clearUpdateMask

        public UpdateFeatureRequest.Builder clearUpdateMask()
         Mask of fields to update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Mask of fields to update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • hasResource

        public boolean hasResource()
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
        Specified by:
        hasResource in interface UpdateFeatureRequestOrBuilder
        Returns:
        Whether the resource field is set.
      • getResource

        public Feature getResource()
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
        Specified by:
        getResource in interface UpdateFeatureRequestOrBuilder
        Returns:
        The resource.
      • setResource

        public UpdateFeatureRequest.Builder setResource​(Feature value)
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
      • setResource

        public UpdateFeatureRequest.Builder setResource​(Feature.Builder builderForValue)
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
      • mergeResource

        public UpdateFeatureRequest.Builder mergeResource​(Feature value)
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
      • clearResource

        public UpdateFeatureRequest.Builder clearResource()
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
      • getResourceBuilder

        public Feature.Builder getResourceBuilder()
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
      • getResourceOrBuilder

        public FeatureOrBuilder getResourceOrBuilder()
         Only fields specified in update_mask are updated.
         If you specify a field in the update_mask but don't specify its value here
         that field will be deleted.
         If you are updating a map field, set the value of a key to null or empty
         string to delete the key from the map. It's not possible to update a key's
         value to the empty string.
         If you specify the update_mask to be a special path "*", fully replaces all
         user-modifiable fields to match `resource`.
         
        .google.cloud.gkehub.v1alpha.Feature resource = 3;
        Specified by:
        getResourceOrBuilder in interface UpdateFeatureRequestOrBuilder
      • getRequestId

        public String getRequestId()
         Optional. A 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 after the first request.
        
         For example, consider a situation where you make an initial request and
         the 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 UpdateFeatureRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         Optional. A 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 after the first request.
        
         For example, consider a situation where you make an initial request and
         the 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 UpdateFeatureRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public UpdateFeatureRequest.Builder setRequestId​(String value)
         Optional. A 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 after the first request.
        
         For example, consider a situation where you make an initial request and
         the 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 UpdateFeatureRequest.Builder clearRequestId()
         Optional. A 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 after the first request.
        
         For example, consider a situation where you make an initial request and
         the 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 UpdateFeatureRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         Optional. A 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 after the first request.
        
         For example, consider a situation where you make an initial request and
         the 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.
      • setUnknownFields

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

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