Class Folder.Builder (2.15.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.v1.Folder

Implements

FolderOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Folder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Folder.Builder
Overrides

build()

public Folder build()
Returns
TypeDescription
Folder

buildPartial()

public Folder buildPartial()
Returns
TypeDescription
Folder

clear()

public Folder.Builder clear()
Returns
TypeDescription
Folder.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Folder.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Folder.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Folder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Folder.Builder

This builder for chaining.

clone()

public Folder.Builder clone()
Returns
TypeDescription
Folder.Builder
Overrides

getDefaultInstanceForType()

public Folder getDefaultInstanceForType()
Returns
TypeDescription
Folder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceFolder.

getResourceFolderDisplayName()

public String getResourceFolderDisplayName()

The user defined display name for this folder.

string resource_folder_display_name = 2;

Returns
TypeDescription
String

The resourceFolderDisplayName.

getResourceFolderDisplayNameBytes()

public ByteString getResourceFolderDisplayNameBytes()

The user defined display name for this folder.

string resource_folder_display_name = 2;

Returns
TypeDescription
ByteString

The bytes for resourceFolderDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Folder other)

public Folder.Builder mergeFrom(Folder other)
Parameter
NameDescription
otherFolder
Returns
TypeDescription
Folder.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Folder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Folder.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Folder.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Folder.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Folder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Folder.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Folder.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Folder.Builder
Overrides

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

public Folder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resourceFolder to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resourceFolder to set.

Returns
TypeDescription
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
NameDescription
valueString

The resourceFolderDisplayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resourceFolderDisplayName to set.

Returns
TypeDescription
Folder.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Folder.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Folder.Builder
Overrides