Class FolderCreationConfig.Builder (0.10.0)

public static final class FolderCreationConfig.Builder extends GeneratedMessage.Builder<FolderCreationConfig.Builder> implements FolderCreationConfigOrBuilder

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

Protobuf type google.cloud.cloudsecuritycompliance.v1.FolderCreationConfig

Static Methods

getDescriptor()

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

Methods

build()

public FolderCreationConfig build()
Returns
Type Description
FolderCreationConfig

buildPartial()

public FolderCreationConfig buildPartial()
Returns
Type Description
FolderCreationConfig

clear()

public FolderCreationConfig.Builder clear()
Returns
Type Description
FolderCreationConfig.Builder
Overrides

clearFolderDisplayName()

public FolderCreationConfig.Builder clearFolderDisplayName()

Required. The display name of the folder.

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

Returns
Type Description
FolderCreationConfig.Builder

This builder for chaining.

clearParent()

public FolderCreationConfig.Builder clearParent()

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

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

Returns
Type Description
FolderCreationConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public FolderCreationConfig getDefaultInstanceForType()
Returns
Type Description
FolderCreationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFolderDisplayName()

public String getFolderDisplayName()

Required. The display name of the folder.

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

Returns
Type Description
String

The folderDisplayName.

getFolderDisplayNameBytes()

public ByteString getFolderDisplayNameBytes()

Required. The display name of the folder.

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

Returns
Type Description
ByteString

The bytes for folderDisplayName.

getParent()

public String getParent()

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

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FolderCreationConfig other)

public FolderCreationConfig.Builder mergeFrom(FolderCreationConfig other)
Parameter
Name Description
other FolderCreationConfig
Returns
Type Description
FolderCreationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FolderCreationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FolderCreationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setFolderDisplayName(String value)

public FolderCreationConfig.Builder setFolderDisplayName(String value)

Required. The display name of the folder.

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

Parameter
Name Description
value String

The folderDisplayName to set.

Returns
Type Description
FolderCreationConfig.Builder

This builder for chaining.

setFolderDisplayNameBytes(ByteString value)

public FolderCreationConfig.Builder setFolderDisplayNameBytes(ByteString value)

Required. The display name of the folder.

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

Parameter
Name Description
value ByteString

The bytes for folderDisplayName to set.

Returns
Type Description
FolderCreationConfig.Builder

This builder for chaining.

setParent(String value)

public FolderCreationConfig.Builder setParent(String value)

Required. The parent of the folder, 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
FolderCreationConfig.Builder

This builder for chaining.

setParentBytes(ByteString value)

public FolderCreationConfig.Builder setParentBytes(ByteString value)

Required. The parent of the folder, 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
FolderCreationConfig.Builder

This builder for chaining.