public static final class UpdateProjectRequest.Builder extends GeneratedMessageV3.Builder<UpdateProjectRequest.Builder> implements UpdateProjectRequestOrBuilder
The request sent to the
UpdateProject
method.
Only the display_name
and labels
fields can be change. Use the
MoveProject method to
change the parent
field.
Protobuf type google.cloud.resourcemanager.v3.UpdateProjectRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateProjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateProjectRequest build()
Returns
buildPartial()
public UpdateProjectRequest buildPartial()
Returns
clear()
public UpdateProjectRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateProjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateProjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public UpdateProjectRequest.Builder clearProject()
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateProjectRequest.Builder clearUpdateMask()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public UpdateProjectRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateProjectRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getProject()
public Project getProject()
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProjectBuilder()
public Project.Builder getProjectBuilder()
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProjectOrBuilder()
public ProjectOrBuilder getProjectOrBuilder()
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasProject()
public boolean hasProject()
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the project field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateProjectRequest other)
public UpdateProjectRequest.Builder mergeFrom(UpdateProjectRequest other)
Parameter
Returns
public UpdateProjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateProjectRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeProject(Project value)
public UpdateProjectRequest.Builder mergeProject(Project value)
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateProjectRequest.Builder mergeUpdateMask(FieldMask value)
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateProjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProject(Project value)
public UpdateProjectRequest.Builder setProject(Project value)
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setProject(Project.Builder builderForValue)
public UpdateProjectRequest.Builder setProject(Project.Builder builderForValue)
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateProjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateProjectRequest.Builder setUpdateMask(FieldMask value)
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateProjectRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
builderForValue | Builder
|
Returns