public static final class FolderCreationConfig.Builder extends GeneratedMessage.Builder<FolderCreationConfig.Builder> implements FolderCreationConfigOrBuilderThe 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FolderCreationConfig.BuilderImplements
FolderCreationConfigOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FolderCreationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FolderCreationConfig.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
FolderCreationConfig.Builder |
This builder for chaining. |