public static final class CreateProjectRequest.Builder extends GeneratedMessageV3.Builder<CreateProjectRequest.Builder> implements CreateProjectRequestOrBuilder
The request sent to the
CreateProject
method.
Protobuf type google.cloud.resourcemanager.v3.CreateProjectRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateProjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateProjectRequest build()
Returns
buildPartial()
public CreateProjectRequest buildPartial()
Returns
clear()
public CreateProjectRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateProjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateProjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public CreateProjectRequest.Builder clearProject()
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateProjectRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateProjectRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getProject()
public Project getProject()
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProjectBuilder()
public Project.Builder getProjectBuilder()
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getProjectOrBuilder()
public ProjectOrBuilder getProjectOrBuilder()
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hasProject()
public boolean hasProject()
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the project field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateProjectRequest other)
public CreateProjectRequest.Builder mergeFrom(CreateProjectRequest other)
Parameter
Returns
public CreateProjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateProjectRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeProject(Project value)
public CreateProjectRequest.Builder mergeProject(Project value)
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateProjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateProjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProject(Project value)
public CreateProjectRequest.Builder setProject(Project value)
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setProject(Project.Builder builderForValue)
public CreateProjectRequest.Builder setProject(Project.Builder builderForValue)
Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request
fails.
If the parent
field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organziation, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateProjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateProjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides