Package com.google.cloud.osconfig.v1beta
Class GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder>
com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder
- All Implemented Interfaces:
GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GuestPolicies.SoftwareRecipe.Step.InstallMsi
public static final class GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder>
implements GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder
Installs an MSI file.Protobuf type
google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedExitCodes(Iterable<? extends Integer> values) Return codes that indicate that the software installed or updated successfully.addAllFlags(Iterable<String> values) The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).addAllowedExitCodes(int value) Return codes that indicate that the software installed or updated successfully.The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).addFlagsBytes(com.google.protobuf.ByteString value) The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).build()clear()Return codes that indicate that the software installed or updated successfully.Required.The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).intgetAllowedExitCodes(int index) Return codes that indicate that the software installed or updated successfully.intReturn codes that indicate that the software installed or updated successfully.Return codes that indicate that the software installed or updated successfully.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFlags(int index) The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).com.google.protobuf.ByteStringgetFlagsBytes(int index) The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).intThe flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).com.google.protobuf.ProtocolStringListThe flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAllowedExitCodes(int index, int value) Return codes that indicate that the software installed or updated successfully.setArtifactId(String value) Required.setArtifactIdBytes(com.google.protobuf.ByteString value) Required.The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).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.InstallMsi.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.InstallMsi.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.InstallMsi.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.InstallMsi.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.InstallMsi.Builder>
-
mergeFrom
public GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Step.InstallMsi other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder>
-
mergeFrom
public GuestPolicies.SoftwareRecipe.Step.InstallMsi.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.InstallMsi.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.InstallMsiOrBuilder- 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.InstallMsiOrBuilder- 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.InstallMsi.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.
-
getFlagsList
public com.google.protobuf.ProtocolStringList getFlagsList()The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Specified by:
getFlagsListin interfaceGuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder- Returns:
- A list containing the flags.
-
getFlagsCount
public int getFlagsCount()The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Specified by:
getFlagsCountin interfaceGuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder- Returns:
- The count of flags.
-
getFlags
The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Specified by:
getFlagsin interfaceGuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The flags at the given index.
-
getFlagsBytes
public com.google.protobuf.ByteString getFlagsBytes(int index) The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Specified by:
getFlagsBytesin interfaceGuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the flags at the given index.
-
setFlags
The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Parameters:
index- The index to set the value at.value- The flags to set.- Returns:
- This builder for chaining.
-
addFlags
The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Parameters:
value- The flags to add.- Returns:
- This builder for chaining.
-
addAllFlags
The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Parameters:
values- The flags to add.- Returns:
- This builder for chaining.
-
clearFlags
The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Returns:
- This builder for chaining.
-
addFlagsBytes
public GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder addFlagsBytes(com.google.protobuf.ByteString value) The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
repeated string flags = 2;- Parameters:
value- The bytes of the flags to add.- Returns:
- This builder for chaining.
-
getAllowedExitCodesList
Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
repeated int32 allowed_exit_codes = 3;- Specified by:
getAllowedExitCodesListin interfaceGuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder- Returns:
- A list containing the allowedExitCodes.
-
getAllowedExitCodesCount
public int getAllowedExitCodesCount()Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
repeated int32 allowed_exit_codes = 3;- Specified by:
getAllowedExitCodesCountin interfaceGuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder- Returns:
- The count of allowedExitCodes.
-
getAllowedExitCodes
public int getAllowedExitCodes(int index) Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
repeated int32 allowed_exit_codes = 3;- Specified by:
getAllowedExitCodesin interfaceGuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedExitCodes at the given index.
-
setAllowedExitCodes
public GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder setAllowedExitCodes(int index, int value) Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
repeated int32 allowed_exit_codes = 3;- Parameters:
index- The index to set the value at.value- The allowedExitCodes to set.- Returns:
- This builder for chaining.
-
addAllowedExitCodes
Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
repeated int32 allowed_exit_codes = 3;- Parameters:
value- The allowedExitCodes to add.- Returns:
- This builder for chaining.
-
addAllAllowedExitCodes
public GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder addAllAllowedExitCodes(Iterable<? extends Integer> values) Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
repeated int32 allowed_exit_codes = 3;- Parameters:
values- The allowedExitCodes to add.- Returns:
- This builder for chaining.
-
clearAllowedExitCodes
Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
repeated int32 allowed_exit_codes = 3;- Returns:
- This builder for chaining.
-