Class DatasetConfig.CloudStorageLocations.Builder (0.80.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class DatasetConfig.CloudStorageLocations.Builder extends GeneratedMessage.Builder<DatasetConfig.CloudStorageLocations.Builder> implements DatasetConfig.CloudStorageLocationsOrBuilder
Collection of Cloud Storage locations.
Protobuf type google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllLocations(Iterable<String> values)
public DatasetConfig.CloudStorageLocations.Builder addAllLocations(Iterable<String> values)
repeated string locations = 1;
| Parameter |
| Name |
Description |
values |
Iterable<String>
The locations to add.
|
addLocations(String value)
public DatasetConfig.CloudStorageLocations.Builder addLocations(String value)
repeated string locations = 1;
| Parameter |
| Name |
Description |
value |
String
The locations to add.
|
addLocationsBytes(ByteString value)
public DatasetConfig.CloudStorageLocations.Builder addLocationsBytes(ByteString value)
repeated string locations = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes of the locations to add.
|
build()
public DatasetConfig.CloudStorageLocations build()
buildPartial()
public DatasetConfig.CloudStorageLocations buildPartial()
clear()
public DatasetConfig.CloudStorageLocations.Builder clear()
Overrides
clearLocations()
public DatasetConfig.CloudStorageLocations.Builder clearLocations()
repeated string locations = 1;
getDefaultInstanceForType()
public DatasetConfig.CloudStorageLocations getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLocations(int index)
public String getLocations(int index)
repeated string locations = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The locations at the given index.
|
getLocationsBytes(int index)
public ByteString getLocationsBytes(int index)
repeated string locations = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the locations at the given index.
|
getLocationsCount()
public int getLocationsCount()
repeated string locations = 1;
| Returns |
| Type |
Description |
int |
The count of locations.
|
getLocationsList()
public ProtocolStringList getLocationsList()
repeated string locations = 1;
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DatasetConfig.CloudStorageLocations other)
public DatasetConfig.CloudStorageLocations.Builder mergeFrom(DatasetConfig.CloudStorageLocations other)
public DatasetConfig.CloudStorageLocations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DatasetConfig.CloudStorageLocations.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setLocations(int index, String value)
public DatasetConfig.CloudStorageLocations.Builder setLocations(int index, String value)
repeated string locations = 1;
| Parameters |
| Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The locations to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[null,null,["Last updated 2026-08-05 UTC."],[],[]]