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