Class ImportAptArtifactsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportAptArtifactsRequest.Builder>
com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder
- All Implemented Interfaces:
ImportAptArtifactsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportAptArtifactsRequest
public static final class ImportAptArtifactsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportAptArtifactsRequest.Builder>
implements ImportAptArtifactsRequestOrBuilder
The request to import new apt artifacts.Protobuf type
google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Google Cloud Storage location where input content is located.The name of the parent resource where the artifacts will be imported.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorGoogle Cloud Storage location where input content is located.Google Cloud Storage location where input content is located.Google Cloud Storage location where input content is located.The name of the parent resource where the artifacts will be imported.com.google.protobuf.ByteStringThe name of the parent resource where the artifacts will be imported.booleanGoogle Cloud Storage location where input content is located.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Google Cloud Storage location where input content is located.Google Cloud Storage location where input content is located.setGcsSource(ImportAptArtifactsGcsSource.Builder builderForValue) Google Cloud Storage location where input content is located.The name of the parent resource where the artifacts will be imported.setParentBytes(com.google.protobuf.ByteString value) The name of the parent resource where the artifacts will be imported.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportAptArtifactsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportAptArtifactsRequest.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.GeneratedMessage.Builder<ImportAptArtifactsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportAptArtifactsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportAptArtifactsRequest.Builder>
-
mergeFrom
public ImportAptArtifactsRequest.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<ImportAptArtifactsRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceImportAptArtifactsRequestOrBuilder
-
clearSource
-
hasGcsSource
public boolean hasGcsSource()Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;- Specified by:
hasGcsSourcein interfaceImportAptArtifactsRequestOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;- Specified by:
getGcsSourcein interfaceImportAptArtifactsRequestOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; -
setGcsSource
public ImportAptArtifactsRequest.Builder setGcsSource(ImportAptArtifactsGcsSource.Builder builderForValue) Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; -
mergeGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; -
clearGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; -
getGcsSourceBuilder
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; -
getGcsSourceOrBuilder
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;- Specified by:
getGcsSourceOrBuilderin interfaceImportAptArtifactsRequestOrBuilder
-
getParent
The name of the parent resource where the artifacts will be imported.
string parent = 1;- Specified by:
getParentin interfaceImportAptArtifactsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The name of the parent resource where the artifacts will be imported.
string parent = 1;- Specified by:
getParentBytesin interfaceImportAptArtifactsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The name of the parent resource where the artifacts will be imported.
string parent = 1;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The name of the parent resource where the artifacts will be imported.
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
The name of the parent resource where the artifacts will be imported.
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-