public static final class ProjectCreationConfig.Builder extends GeneratedMessageV3.Builder<ProjectCreationConfig.Builder> implements ProjectCreationConfigOrBuilder
ProjectCreationConfig contains the config to create a new project.
Protobuf type google.cloud.cloudsecuritycompliance.v1.ProjectCreationConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProjectCreationConfig.BuilderImplements
ProjectCreationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectCreationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
build()
public ProjectCreationConfig build()
Returns | |
---|---|
Type | Description |
ProjectCreationConfig |
buildPartial()
public ProjectCreationConfig buildPartial()
Returns | |
---|---|
Type | Description |
ProjectCreationConfig |
clear()
public ProjectCreationConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
clearBillingAccountId()
public ProjectCreationConfig.Builder clearBillingAccountId()
Required. Billing account id to be used for the project
string billing_account_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ProjectCreationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectCreationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
clearParent()
public ProjectCreationConfig.Builder clearParent()
Required. organizations/{org} or folders/{folder}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
clearProjectDisplayName()
public ProjectCreationConfig.Builder clearProjectDisplayName()
Required. Display name of the project to be created
string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
clone()
public ProjectCreationConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
getBillingAccountId()
public String getBillingAccountId()
Required. Billing account id to be used for the project
string billing_account_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The billingAccountId. |
getBillingAccountIdBytes()
public ByteString getBillingAccountIdBytes()
Required. Billing account id to be used for the project
string billing_account_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for billingAccountId. |
getDefaultInstanceForType()
public ProjectCreationConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProjectCreationConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. organizations/{org} or folders/{folder}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. organizations/{org} or folders/{folder}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getProjectDisplayName()
public String getProjectDisplayName()
Required. Display name of the project to be created
string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The projectDisplayName. |
getProjectDisplayNameBytes()
public ByteString getProjectDisplayNameBytes()
Required. Display name of the project to be created
string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for projectDisplayName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ProjectCreationConfig other)
public ProjectCreationConfig.Builder mergeFrom(ProjectCreationConfig other)
Parameter | |
---|---|
Name | Description |
other |
ProjectCreationConfig |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProjectCreationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProjectCreationConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectCreationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
setBillingAccountId(String value)
public ProjectCreationConfig.Builder setBillingAccountId(String value)
Required. Billing account id to be used for the project
string billing_account_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The billingAccountId to set. |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
setBillingAccountIdBytes(ByteString value)
public ProjectCreationConfig.Builder setBillingAccountIdBytes(ByteString value)
Required. Billing account id to be used for the project
string billing_account_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for billingAccountId to set. |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectCreationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
setParent(String value)
public ProjectCreationConfig.Builder setParent(String value)
Required. organizations/{org} or folders/{folder}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ProjectCreationConfig.Builder setParentBytes(ByteString value)
Required. organizations/{org} or folders/{folder}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
setProjectDisplayName(String value)
public ProjectCreationConfig.Builder setProjectDisplayName(String value)
Required. Display name of the project to be created
string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The projectDisplayName to set. |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
setProjectDisplayNameBytes(ByteString value)
public ProjectCreationConfig.Builder setProjectDisplayNameBytes(ByteString value)
Required. Display name of the project to be created
string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for projectDisplayName to set. |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectCreationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectCreationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProjectCreationConfig.Builder |