Package com.google.cloud.osconfig.v1beta
Class GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder>
com.google.cloud.osconfig.v1beta.GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder
- All Implemented Interfaces:
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe
public static final class GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder>
implements GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder
A guest policy recipe including its source.Protobuf type
google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A software recipe to configure on the VM instance.Name of the guest policy providing this config.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA software recipe to configure on the VM instance.A software recipe to configure on the VM instance.A software recipe to configure on the VM instance.Name of the guest policy providing this config.com.google.protobuf.ByteStringName of the guest policy providing this config.booleanA software recipe to configure on the VM instance.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A software recipe to configure on the VM instance.A software recipe to configure on the VM instance.setSoftwareRecipe(GuestPolicies.SoftwareRecipe.Builder builderForValue) A software recipe to configure on the VM instance.Name of the guest policy providing this config.setSourceBytes(com.google.protobuf.ByteString value) Name of the guest policy providing this config.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.EffectiveGuestPolicy.SourcedSoftwareRecipe.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.EffectiveGuestPolicy.SourcedSoftwareRecipe.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.EffectiveGuestPolicy.SourcedSoftwareRecipe.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.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder>
-
mergeFrom
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.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.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder>- Throws:
IOException
-
getSource
Name of the guest policy providing this config.
string source = 1;- Specified by:
getSourcein interfaceGuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Name of the guest policy providing this config.
string source = 1;- Specified by:
getSourceBytesin interfaceGuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder- Returns:
- The bytes for source.
-
setSource
Name of the guest policy providing this config.
string source = 1;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
Name of the guest policy providing this config.
string source = 1;- Returns:
- This builder for chaining.
-
setSourceBytes
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder setSourceBytes(com.google.protobuf.ByteString value) Name of the guest policy providing this config.
string source = 1;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
hasSoftwareRecipe
public boolean hasSoftwareRecipe()A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;- Specified by:
hasSoftwareRecipein interfaceGuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder- Returns:
- Whether the softwareRecipe field is set.
-
getSoftwareRecipe
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;- Specified by:
getSoftwareRecipein interfaceGuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder- Returns:
- The softwareRecipe.
-
setSoftwareRecipe
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder setSoftwareRecipe(GuestPolicies.SoftwareRecipe value) A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; -
setSoftwareRecipe
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder setSoftwareRecipe(GuestPolicies.SoftwareRecipe.Builder builderForValue) A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; -
mergeSoftwareRecipe
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder mergeSoftwareRecipe(GuestPolicies.SoftwareRecipe value) A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; -
clearSoftwareRecipe
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; -
getSoftwareRecipeBuilder
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2; -
getSoftwareRecipeOrBuilder
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;- Specified by:
getSoftwareRecipeOrBuilderin interfaceGuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilder
-