public static final class CloudStoragePath.Builder extends GeneratedMessageV3.Builder<CloudStoragePath.Builder> implements CloudStoragePathOrBuilder
Message representing a single file or path in Cloud Storage.
Protobuf type google.privacy.dlp.v2.CloudStoragePath
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 CloudStoragePath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CloudStoragePath build()
Returns
buildPartial()
public CloudStoragePath buildPartial()
Returns
clear()
public CloudStoragePath.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CloudStoragePath.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudStoragePath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPath()
public CloudStoragePath.Builder clearPath()
A url representing a file or path (no wildcards) in Cloud Storage.
Example: gs://[BUCKET_NAME]/dictionary.txt
string path = 1;
Returns
clone()
public CloudStoragePath.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CloudStoragePath getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CloudStoragePath other)
public CloudStoragePath.Builder mergeFrom(CloudStoragePath other)
Parameter
Returns
public CloudStoragePath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CloudStoragePath.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudStoragePath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CloudStoragePath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPath(String value)
public CloudStoragePath.Builder setPath(String value)
A url representing a file or path (no wildcards) in Cloud Storage.
Example: gs://[BUCKET_NAME]/dictionary.txt
string path = 1;
Parameter
Name | Description |
value | String
The path to set.
|
Returns
setPathBytes(ByteString value)
public CloudStoragePath.Builder setPathBytes(ByteString value)
A url representing a file or path (no wildcards) in Cloud Storage.
Example: gs://[BUCKET_NAME]/dictionary.txt
string path = 1;
Parameter
Name | Description |
value | ByteString
The bytes for path to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudStoragePath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudStoragePath.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides