Class ProjectCreationConfig.Builder (0.12.0)

public static final class ProjectCreationConfig.Builder extends GeneratedMessage.Builder<ProjectCreationConfig.Builder> implements ProjectCreationConfigOrBuilder

The configuration that's required to create a project to be used as the target resource of a deployment.

Protobuf type google.cloud.cloudsecuritycompliance.v1.ProjectCreationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

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
Overrides

clearBillingAccountId()

public ProjectCreationConfig.Builder clearBillingAccountId()

Required. The billing account ID for the project.

string billing_account_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProjectCreationConfig.Builder

This builder for chaining.

clearParent()

public ProjectCreationConfig.Builder clearParent()

Required. The parent of the project, in the format organizations/{organizationID} or folders/{folderID}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProjectCreationConfig.Builder

This builder for chaining.

clearProjectDisplayName()

public ProjectCreationConfig.Builder clearProjectDisplayName()

Required. The display name of the project.

string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProjectCreationConfig.Builder

This builder for chaining.

getBillingAccountId()

public String getBillingAccountId()

Required. The billing account ID for the project.

string billing_account_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The billingAccountId.

getBillingAccountIdBytes()

public ByteString getBillingAccountIdBytes()

Required. The billing account ID 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
Overrides

getParent()

public String getParent()

Required. The parent of the project, in the format organizations/{organizationID} or folders/{folderID}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent of the project, in the format organizations/{organizationID} or folders/{folderID}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getProjectDisplayName()

public String getProjectDisplayName()

Required. The display name of the project.

string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectDisplayName.

getProjectDisplayNameBytes()

public ByteString getProjectDisplayNameBytes()

Required. The display name of the project.

string project_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProjectCreationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProjectCreationConfig.Builder
Overrides

setBillingAccountId(String value)

public ProjectCreationConfig.Builder setBillingAccountId(String value)

Required. The billing account ID 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. The billing account ID 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.

setParent(String value)

public ProjectCreationConfig.Builder setParent(String value)

Required. The parent of the project, in the format organizations/{organizationID} or folders/{folderID}.

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. The parent of the project, in the format organizations/{organizationID} or folders/{folderID}.

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. The display name of the project.

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. The display name of the project.

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.