public static final class CloudStorageDestinationOptions.Builder extends GeneratedMessageV3.Builder<CloudStorageDestinationOptions.Builder> implements CloudStorageDestinationOptionsOrBuilder
Options to store reports in storage systems. Next ID: 3
Protobuf type google.cloud.storageinsights.v1.CloudStorageDestinationOptions
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudStorageDestinationOptions.BuilderImplements
CloudStorageDestinationOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudStorageDestinationOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
build()
public CloudStorageDestinationOptions build()
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions |
buildPartial()
public CloudStorageDestinationOptions buildPartial()
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions |
clear()
public CloudStorageDestinationOptions.Builder clear()
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
clearBucket()
public CloudStorageDestinationOptions.Builder clearBucket()
Destination bucket.
string bucket = 1;
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
This builder for chaining. |
clearDestinationPath()
public CloudStorageDestinationOptions.Builder clearDestinationPath()
Destination path is the path in the bucket where the report should be generated.
string destination_path = 2;
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CloudStorageDestinationOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudStorageDestinationOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
clone()
public CloudStorageDestinationOptions.Builder clone()
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
getBucket()
public String getBucket()
Destination bucket.
string bucket = 1;
Returns | |
---|---|
Type | Description |
String |
The bucket. |
getBucketBytes()
public ByteString getBucketBytes()
Destination bucket.
string bucket = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for bucket. |
getDefaultInstanceForType()
public CloudStorageDestinationOptions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationPath()
public String getDestinationPath()
Destination path is the path in the bucket where the report should be generated.
string destination_path = 2;
Returns | |
---|---|
Type | Description |
String |
The destinationPath. |
getDestinationPathBytes()
public ByteString getDestinationPathBytes()
Destination path is the path in the bucket where the report should be generated.
string destination_path = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for destinationPath. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CloudStorageDestinationOptions other)
public CloudStorageDestinationOptions.Builder mergeFrom(CloudStorageDestinationOptions other)
Parameter | |
---|---|
Name | Description |
other |
CloudStorageDestinationOptions |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudStorageDestinationOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CloudStorageDestinationOptions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudStorageDestinationOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
setBucket(String value)
public CloudStorageDestinationOptions.Builder setBucket(String value)
Destination bucket.
string bucket = 1;
Parameter | |
---|---|
Name | Description |
value |
String The bucket to set. |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
This builder for chaining. |
setBucketBytes(ByteString value)
public CloudStorageDestinationOptions.Builder setBucketBytes(ByteString value)
Destination bucket.
string bucket = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for bucket to set. |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
This builder for chaining. |
setDestinationPath(String value)
public CloudStorageDestinationOptions.Builder setDestinationPath(String value)
Destination path is the path in the bucket where the report should be generated.
string destination_path = 2;
Parameter | |
---|---|
Name | Description |
value |
String The destinationPath to set. |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
This builder for chaining. |
setDestinationPathBytes(ByteString value)
public CloudStorageDestinationOptions.Builder setDestinationPathBytes(ByteString value)
Destination path is the path in the bucket where the report should be generated.
string destination_path = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationPath to set. |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudStorageDestinationOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudStorageDestinationOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudStorageDestinationOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudStorageDestinationOptions.Builder |