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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateProjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateProjectRequest build()
buildPartial()
public UpdateProjectRequest buildPartial()
clear()
public UpdateProjectRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateProjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateProjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clearUpdateMask()
public UpdateProjectRequest.Builder clearUpdateMask()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateProjectRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateProjectRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
Project | The project.
|
getProjectBuilder()
public Project.Builder getProjectBuilder()
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
getProjectOrBuilder()
public ProjectOrBuilder getProjectOrBuilder()
Required. The new definition of the project.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. An update mask to selectively update fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateProjectRequest other)
public UpdateProjectRequest.Builder mergeFrom(UpdateProjectRequest other)
public UpdateProjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateProjectRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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 |
---|
Name | Description |
value | Project
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateProjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
---|
Name | Description |
value | Project
|
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateProjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateProjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|