Class ImportAptArtifactsGcsSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
- com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder
-
- All Implemented Interfaces:
ImportAptArtifactsGcsSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportAptArtifactsGcsSource
public static final class ImportAptArtifactsGcsSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder> implements ImportAptArtifactsGcsSourceOrBuilder
Google Cloud Storage location where the artifacts currently reside.
Protobuf typegoogle.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportAptArtifactsGcsSource.BuilderaddAllUris(Iterable<String> values)Cloud Storage paths URI (e.g., gs://my_bucket//my_object).ImportAptArtifactsGcsSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportAptArtifactsGcsSource.BuilderaddUris(String value)Cloud Storage paths URI (e.g., gs://my_bucket//my_object).ImportAptArtifactsGcsSource.BuilderaddUrisBytes(com.google.protobuf.ByteString value)Cloud Storage paths URI (e.g., gs://my_bucket//my_object).ImportAptArtifactsGcsSourcebuild()ImportAptArtifactsGcsSourcebuildPartial()ImportAptArtifactsGcsSource.Builderclear()ImportAptArtifactsGcsSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ImportAptArtifactsGcsSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ImportAptArtifactsGcsSource.BuilderclearUris()Cloud Storage paths URI (e.g., gs://my_bucket//my_object).ImportAptArtifactsGcsSource.BuilderclearUseWildcards()Supports URI wildcards for matching multiple objects from a single URI.ImportAptArtifactsGcsSource.Builderclone()ImportAptArtifactsGcsSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetUris(int index)Cloud Storage paths URI (e.g., gs://my_bucket//my_object).com.google.protobuf.ByteStringgetUrisBytes(int index)Cloud Storage paths URI (e.g., gs://my_bucket//my_object).intgetUrisCount()Cloud Storage paths URI (e.g., gs://my_bucket//my_object).com.google.protobuf.ProtocolStringListgetUrisList()Cloud Storage paths URI (e.g., gs://my_bucket//my_object).booleangetUseWildcards()Supports URI wildcards for matching multiple objects from a single URI.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ImportAptArtifactsGcsSource.BuildermergeFrom(ImportAptArtifactsGcsSource other)ImportAptArtifactsGcsSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ImportAptArtifactsGcsSource.BuildermergeFrom(com.google.protobuf.Message other)ImportAptArtifactsGcsSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImportAptArtifactsGcsSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportAptArtifactsGcsSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ImportAptArtifactsGcsSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImportAptArtifactsGcsSource.BuildersetUris(int index, String value)Cloud Storage paths URI (e.g., gs://my_bucket//my_object).ImportAptArtifactsGcsSource.BuildersetUseWildcards(boolean value)Supports URI wildcards for matching multiple objects from a single URI.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
clear
public ImportAptArtifactsGcsSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
getDefaultInstanceForType
public ImportAptArtifactsGcsSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImportAptArtifactsGcsSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImportAptArtifactsGcsSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImportAptArtifactsGcsSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
setField
public ImportAptArtifactsGcsSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
clearField
public ImportAptArtifactsGcsSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
clearOneof
public ImportAptArtifactsGcsSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
setRepeatedField
public ImportAptArtifactsGcsSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
addRepeatedField
public ImportAptArtifactsGcsSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
mergeFrom
public ImportAptArtifactsGcsSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportAptArtifactsGcsSource.Builder>
-
mergeFrom
public ImportAptArtifactsGcsSource.Builder mergeFrom(ImportAptArtifactsGcsSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
mergeFrom
public ImportAptArtifactsGcsSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportAptArtifactsGcsSource.Builder>- Throws:
IOException
-
getUrisList
public com.google.protobuf.ProtocolStringList getUrisList()
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Specified by:
getUrisListin interfaceImportAptArtifactsGcsSourceOrBuilder- Returns:
- A list containing the uris.
-
getUrisCount
public int getUrisCount()
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Specified by:
getUrisCountin interfaceImportAptArtifactsGcsSourceOrBuilder- Returns:
- The count of uris.
-
getUris
public String getUris(int index)
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Specified by:
getUrisin interfaceImportAptArtifactsGcsSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The uris at the given index.
-
getUrisBytes
public com.google.protobuf.ByteString getUrisBytes(int index)
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Specified by:
getUrisBytesin interfaceImportAptArtifactsGcsSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the uris at the given index.
-
setUris
public ImportAptArtifactsGcsSource.Builder setUris(int index, String value)
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Parameters:
index- The index to set the value at.value- The uris to set.- Returns:
- This builder for chaining.
-
addUris
public ImportAptArtifactsGcsSource.Builder addUris(String value)
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Parameters:
value- The uris to add.- Returns:
- This builder for chaining.
-
addAllUris
public ImportAptArtifactsGcsSource.Builder addAllUris(Iterable<String> values)
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Parameters:
values- The uris to add.- Returns:
- This builder for chaining.
-
clearUris
public ImportAptArtifactsGcsSource.Builder clearUris()
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Returns:
- This builder for chaining.
-
addUrisBytes
public ImportAptArtifactsGcsSource.Builder addUrisBytes(com.google.protobuf.ByteString value)
Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;- Parameters:
value- The bytes of the uris to add.- Returns:
- This builder for chaining.
-
getUseWildcards
public boolean getUseWildcards()
Supports URI wildcards for matching multiple objects from a single URI.
bool use_wildcards = 2;- Specified by:
getUseWildcardsin interfaceImportAptArtifactsGcsSourceOrBuilder- Returns:
- The useWildcards.
-
setUseWildcards
public ImportAptArtifactsGcsSource.Builder setUseWildcards(boolean value)
Supports URI wildcards for matching multiple objects from a single URI.
bool use_wildcards = 2;- Parameters:
value- The useWildcards to set.- Returns:
- This builder for chaining.
-
clearUseWildcards
public ImportAptArtifactsGcsSource.Builder clearUseWildcards()
Supports URI wildcards for matching multiple objects from a single URI.
bool use_wildcards = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ImportAptArtifactsGcsSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
mergeUnknownFields
public final ImportAptArtifactsGcsSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder>
-
-