public final class Folder extends GeneratedMessageV3 implements FolderOrBuilder
Message that contains the resource name and display name of a folder
resource.
Protobuf type google.cloud.securitycenter.v1.Folder
Static Fields
RESOURCE_FOLDER_DISPLAY_NAME_FIELD_NUMBER
public static final int RESOURCE_FOLDER_DISPLAY_NAME_FIELD_NUMBER
Field Value
RESOURCE_FOLDER_FIELD_NUMBER
public static final int RESOURCE_FOLDER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Folder getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Folder.Builder newBuilder()
Returns
newBuilder(Folder prototype)
public static Folder.Builder newBuilder(Folder prototype)
Parameter
Name | Description |
prototype | Folder
|
Returns
public static Folder parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Folder parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Folder parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Folder parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Folder parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Folder parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Folder parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Folder parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Folder parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Folder parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Folder parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Folder parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Folder> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Folder getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Folder> getParserForType()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Folder.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Folder.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Folder.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions