Send feedback
Class DatasetConfig.CloudStorageLocations.Builder (0.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class DatasetConfig . CloudStorageLocations . Builder extends GeneratedMessageV3 . 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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ()
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.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatasetConfig . CloudStorageLocations . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public DatasetConfig . CloudStorageLocations build ()
buildPartial()
public DatasetConfig . CloudStorageLocations buildPartial ()
clear()
public DatasetConfig . CloudStorageLocations . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DatasetConfig . CloudStorageLocations . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLocations()
public DatasetConfig . CloudStorageLocations . Builder clearLocations ()
repeated string locations = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DatasetConfig . CloudStorageLocations . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public DatasetConfig . CloudStorageLocations . Builder clone ()
Overrides
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 GeneratedMessageV3 . 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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatasetConfig . CloudStorageLocations . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DatasetConfig . CloudStorageLocations . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatasetConfig . CloudStorageLocations . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DatasetConfig . CloudStorageLocations . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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 2025-06-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]