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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateProjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateProjectRequest build()
buildPartial()
public CreateProjectRequest buildPartial()
clear()
public CreateProjectRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateProjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateProjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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 Organization, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateProjectRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateProjectRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 Organization, the parent
will be set to that Organization.
.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 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 Organization, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
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 Organization, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
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 Organization, 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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateProjectRequest other)
public CreateProjectRequest.Builder mergeFrom(CreateProjectRequest other)
public CreateProjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateProjectRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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 Organization, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Project
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateProjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateProjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 Organization, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Project
|
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 Organization, the parent
will be set to that Organization.
.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateProjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateProjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides