Class CloudStoragePath (3.46.0)

public final class CloudStoragePath extends GeneratedMessageV3 implements CloudStoragePathOrBuilder

Message representing a single file or path in Cloud Storage.

Protobuf type google.privacy.dlp.v2.CloudStoragePath

Static Fields

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudStoragePath getDefaultInstance()
Returns
Type Description
CloudStoragePath

getDescriptor()

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

newBuilder()

public static CloudStoragePath.Builder newBuilder()
Returns
Type Description
CloudStoragePath.Builder

newBuilder(CloudStoragePath prototype)

public static CloudStoragePath.Builder newBuilder(CloudStoragePath prototype)
Parameter
Name Description
prototype CloudStoragePath
Returns
Type Description
CloudStoragePath.Builder

parseDelimitedFrom(InputStream input)

public static CloudStoragePath parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudStoragePath parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudStoragePath parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudStoragePath parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudStoragePath parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudStoragePath parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudStoragePath parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudStoragePath parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudStoragePath parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudStoragePath parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudStoragePath parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudStoragePath parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudStoragePath
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudStoragePath> parser()
Returns
Type Description
Parser<CloudStoragePath>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CloudStoragePath getDefaultInstanceForType()
Returns
Type Description
CloudStoragePath

getParserForType()

public Parser<CloudStoragePath> getParserForType()
Returns
Type Description
Parser<CloudStoragePath>
Overrides

getPath()

public String getPath()

A URL representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

A URL representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudStoragePath.Builder newBuilderForType()
Returns
Type Description
CloudStoragePath.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudStoragePath.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudStoragePath.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudStoragePath.Builder toBuilder()
Returns
Type Description
CloudStoragePath.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException