Class Folder.Builder (2.63.0)

public static final class Folder.Builder extends GeneratedMessageV3.Builder<Folder.Builder> implements FolderOrBuilder

Message that contains the resource name and display name of a folder resource.

Protobuf type google.cloud.securitycenter.v2.Folder

Implements

FolderOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Folder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Folder.Builder
Overrides

build()

public Folder build()
Returns
Type Description
Folder

buildPartial()

public Folder buildPartial()
Returns
Type Description
Folder

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Folder.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Folder.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Folder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Folder.Builder
Overrides

clearResourceFolder()

public Folder.Builder clearResourceFolder()

Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

string resource_folder = 1;

Returns
Type Description
Folder.Builder

This builder for chaining.

clearResourceFolderDisplayName()

public Folder.Builder clearResourceFolderDisplayName()

The user defined display name for this folder.

string resource_folder_display_name = 2;

Returns
Type Description
Folder.Builder

This builder for chaining.

clone()

public Folder.Builder clone()
Returns
Type Description
Folder.Builder
Overrides

getDefaultInstanceForType()

public Folder getDefaultInstanceForType()
Returns
Type Description
Folder

getDescriptorForType()

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

getResourceFolder()

public String getResourceFolder()

Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

string resource_folder = 1;

Returns
Type Description
String

The resourceFolder.

getResourceFolderBytes()

public ByteString getResourceFolderBytes()

Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

string resource_folder = 1;

Returns
Type Description
ByteString

The bytes for resourceFolder.

getResourceFolderDisplayName()

public String getResourceFolderDisplayName()

The user defined display name for this folder.

string resource_folder_display_name = 2;

Returns
Type Description
String

The resourceFolderDisplayName.

getResourceFolderDisplayNameBytes()

public ByteString getResourceFolderDisplayNameBytes()

The user defined display name for this folder.

string resource_folder_display_name = 2;

Returns
Type Description
ByteString

The bytes for resourceFolderDisplayName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Folder other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Folder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Folder.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Folder.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Folder.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Folder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Folder.Builder
Overrides

setResourceFolder(String value)

public Folder.Builder setResourceFolder(String value)

Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

string resource_folder = 1;

Parameter
Name Description
value String

The resourceFolder to set.

Returns
Type Description
Folder.Builder

This builder for chaining.

setResourceFolderBytes(ByteString value)

public Folder.Builder setResourceFolderBytes(ByteString value)

Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

string resource_folder = 1;

Parameter
Name Description
value ByteString

The bytes for resourceFolder to set.

Returns
Type Description
Folder.Builder

This builder for chaining.

setResourceFolderDisplayName(String value)

public Folder.Builder setResourceFolderDisplayName(String value)

The user defined display name for this folder.

string resource_folder_display_name = 2;

Parameter
Name Description
value String

The resourceFolderDisplayName to set.

Returns
Type Description
Folder.Builder

This builder for chaining.

setResourceFolderDisplayNameBytes(ByteString value)

public Folder.Builder setResourceFolderDisplayNameBytes(ByteString value)

The user defined display name for this folder.

string resource_folder_display_name = 2;

Parameter
Name Description
value ByteString

The bytes for resourceFolderDisplayName to set.

Returns
Type Description
Folder.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Folder.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Folder.Builder
Overrides