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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Folder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Folder buildPartial()
Returns
clear()
public Folder.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Folder.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Folder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResourceFolder()
public Folder.Builder clearResourceFolder()
Returns
clearResourceFolderDisplayName()
public Folder.Builder clearResourceFolderDisplayName()
The user defined display name for this folder.
string resource_folder_display_name = 2;
Returns
clone()
public Folder.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Folder getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResourceFolder()
public String getResourceFolder()
Returns
Type | Description |
String | The resourceFolder.
|
getResourceFolderBytes()
public ByteString getResourceFolderBytes()
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Folder other)
public Folder.Builder mergeFrom(Folder other)
Parameter
Returns
public Folder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Folder.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Folder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Folder.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Folder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResourceFolder(String value)
public Folder.Builder setResourceFolder(String value)
Parameter
Name | Description |
value | String
The resourceFolder to set.
|
Returns
setResourceFolderBytes(ByteString value)
public Folder.Builder setResourceFolderBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for resourceFolder to set.
|
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final Folder.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides