Send feedback
Class GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder (2.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.45.0 keyboard_arrow_down
public static final class GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder extends GeneratedMessageV3 . Builder<GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder > implements GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipeOrBuilder
A guest policy recipe including its source.
Protobuf type
google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe build ()
buildPartial()
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe buildPartial ()
clear()
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSoftwareRecipe()
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder clearSoftwareRecipe ()
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
clearSource()
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder clearSource ()
Name of the guest policy providing this config.
string source = 1;
clone()
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder clone ()
Overrides
getDefaultInstanceForType()
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSoftwareRecipe()
public GuestPolicies . SoftwareRecipe getSoftwareRecipe ()
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
getSoftwareRecipeBuilder()
public GuestPolicies . SoftwareRecipe . Builder getSoftwareRecipeBuilder ()
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
getSoftwareRecipeOrBuilder()
public GuestPolicies . SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder ()
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
getSource()
public String getSource ()
Name of the guest policy providing this config.
string source = 1;
Returns
Type
Description
String
The source.
getSourceBytes()
public ByteString getSourceBytes ()
Name of the guest policy providing this config.
string source = 1;
Returns
Type
Description
ByteString
The bytes for source.
hasSoftwareRecipe()
public boolean hasSoftwareRecipe ()
A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
Returns
Type
Description
boolean
Whether the softwareRecipe field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe other)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder mergeFrom ( GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe other )
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeSoftwareRecipe(GuestPolicies.SoftwareRecipe value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSoftwareRecipe(GuestPolicies.SoftwareRecipe value)
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(GuestPolicies.SoftwareRecipe.Builder builderForValue)
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;
setSource(String value)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder setSource ( String value )
Name of the guest policy providing this config.
string source = 1;
Parameter
Name
Description
value
String
The source to set.
setSourceBytes(ByteString value)
public GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder setSourceBytes ( ByteString value )
Name of the guest policy providing this config.
string source = 1;
Parameter
Name
Description
value
ByteString
The bytes for source to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies . EffectiveGuestPolicy . SourcedSoftwareRecipe . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]