Package com.google.cloud.osconfig.v1beta
Class GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder>
com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
- All Implemented Interfaces:
GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GuestPolicies.SoftwareRecipe.Step.ExtractArchive
public static final class GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder>
implements GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder
Extracts an archive of the type specified in the specified directory.Protobuf type
google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Directory to extract archive to.Required.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDirectory to extract archive to.com.google.protobuf.ByteStringDirectory to extract archive to.getType()Required.intRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setArtifactId(String value) Required.setArtifactIdBytes(com.google.protobuf.ByteString value) Required.setDestination(String value) Directory to extract archive to.setDestinationBytes(com.google.protobuf.ByteString value) Directory to extract archive to.Required.setTypeValue(int value) Required.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<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.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<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.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<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.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
public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder>
-
mergeFrom
public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.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<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder>- Throws:
IOException
-
getArtifactId
Required. The id of the relevant artifact in the recipe.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getArtifactIdin interfaceGuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder- Returns:
- The artifactId.
-
getArtifactIdBytes
public com.google.protobuf.ByteString getArtifactIdBytes()Required. The id of the relevant artifact in the recipe.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getArtifactIdBytesin interfaceGuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder- Returns:
- The bytes for artifactId.
-
setArtifactId
Required. The id of the relevant artifact in the recipe.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The artifactId to set.- Returns:
- This builder for chaining.
-
clearArtifactId
Required. The id of the relevant artifact in the recipe.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setArtifactIdBytes
public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setArtifactIdBytes(com.google.protobuf.ByteString value) Required. The id of the relevant artifact in the recipe.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for artifactId to set.- Returns:
- This builder for chaining.
-
getDestination
Directory to extract archive to. Defaults to `/` on Linux or `C:\` on Windows.
string destination = 2;- Specified by:
getDestinationin interfaceGuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()Directory to extract archive to. Defaults to `/` on Linux or `C:\` on Windows.
string destination = 2;- Specified by:
getDestinationBytesin interfaceGuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder- Returns:
- The bytes for destination.
-
setDestination
Directory to extract archive to. Defaults to `/` on Linux or `C:\` on Windows.
string destination = 2;- Parameters:
value- The destination to set.- Returns:
- This builder for chaining.
-
clearDestination
Directory to extract archive to. Defaults to `/` on Linux or `C:\` on Windows.
string destination = 2;- Returns:
- This builder for chaining.
-
setDestinationBytes
public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setDestinationBytes(com.google.protobuf.ByteString value) Directory to extract archive to. Defaults to `/` on Linux or `C:\` on Windows.
string destination = 2;- Parameters:
value- The bytes for destination to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Required. The type of the archive to extract.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypeValuein interfaceGuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Required. The type of the archive to extract.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Required. The type of the archive to extract.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypein interfaceGuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder- Returns:
- The type.
-
setType
public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setType(GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType value) Required. The type of the archive to extract.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Required. The type of the archive to extract.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-