public static final class CreateFolderMetadata.Builder extends GeneratedMessageV3.Builder<CreateFolderMetadata.Builder> implements CreateFolderMetadataOrBuilder
Metadata pertaining to the Folder creation process.
Protobuf type google.cloud.resourcemanager.v3.CreateFolderMetadata
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateFolderMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateFolderMetadata build()
Returns
public CreateFolderMetadata buildPartial()
Returns
public CreateFolderMetadata.Builder clear()
Returns
Overrides
public CreateFolderMetadata.Builder clearDisplayName()
The display name of the folder.
string display_name = 1;
Returns
public CreateFolderMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateFolderMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateFolderMetadata.Builder clearParent()
The resource name of the folder or organization we are creating the folder
under.
string parent = 2;
Returns
public CreateFolderMetadata.Builder clone()
Returns
Overrides
public CreateFolderMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getDisplayName()
The display name of the folder.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
public ByteString getDisplayNameBytes()
The display name of the folder.
string display_name = 1;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
public String getParent()
The resource name of the folder or organization we are creating the folder
under.
string parent = 2;
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
The resource name of the folder or organization we are creating the folder
under.
string parent = 2;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateFolderMetadata.Builder mergeFrom(CreateFolderMetadata other)
Parameter
Returns
public CreateFolderMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateFolderMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateFolderMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateFolderMetadata.Builder setDisplayName(String value)
The display name of the folder.
string display_name = 1;
Parameter
Name | Description |
value | String
The displayName to set.
|
Returns
public CreateFolderMetadata.Builder setDisplayNameBytes(ByteString value)
The display name of the folder.
string display_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for displayName to set.
|
Returns
public CreateFolderMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateFolderMetadata.Builder setParent(String value)
The resource name of the folder or organization we are creating the folder
under.
string parent = 2;
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public CreateFolderMetadata.Builder setParentBytes(ByteString value)
The resource name of the folder or organization we are creating the folder
under.
string parent = 2;
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public CreateFolderMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateFolderMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides