Class ImportYumArtifactsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportYumArtifactsRequest.Builder>
com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder
- All Implemented Interfaces:
ImportYumArtifactsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportYumArtifactsRequest
public static final class ImportYumArtifactsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportYumArtifactsRequest.Builder>
implements ImportYumArtifactsRequestOrBuilder
The request to import new yum artifacts.Protobuf type
google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest-
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(ImportYumArtifactsGcsSource.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<ImportYumArtifactsRequest.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<ImportYumArtifactsRequest.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<ImportYumArtifactsRequest.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<ImportYumArtifactsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportYumArtifactsRequest.Builder>
-
mergeFrom
public ImportYumArtifactsRequest.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<ImportYumArtifactsRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceImportYumArtifactsRequestOrBuilder
-
clearSource
-
hasGcsSource
public boolean hasGcsSource()Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2;- Specified by:
hasGcsSourcein interfaceImportYumArtifactsRequestOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2;- Specified by:
getGcsSourcein interfaceImportYumArtifactsRequestOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; -
setGcsSource
public ImportYumArtifactsRequest.Builder setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue) Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; -
mergeGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; -
clearGcsSource
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; -
getGcsSourceBuilder
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; -
getGcsSourceOrBuilder
Google Cloud Storage location where input content is located.
.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2;- Specified by:
getGcsSourceOrBuilderin interfaceImportYumArtifactsRequestOrBuilder
-
getParent
The name of the parent resource where the artifacts will be imported.
string parent = 1;- Specified by:
getParentin interfaceImportYumArtifactsRequestOrBuilder- 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 interfaceImportYumArtifactsRequestOrBuilder- 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.
-