public static final class GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder extends GeneratedMessage.Builder<GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder> implements GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipeOrBuilderA guest policy recipe including its source.
Protobuf type
google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedSoftwareRecipe
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe build()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe |
|
buildPartial()
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe buildPartial()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe |
|
clear()
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder clear()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
clearSoftwareRecipe()
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder clearSoftwareRecipe()A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
clearSource()
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder clearSource()Name of the guest policy providing this config.
string source = 1;
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSoftwareRecipe()
public GuestPolicies.SoftwareRecipe getSoftwareRecipe()A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.SoftwareRecipe |
The softwareRecipe. |
getSoftwareRecipeBuilder()
public GuestPolicies.SoftwareRecipe.Builder getSoftwareRecipeBuilder()A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.SoftwareRecipe.Builder |
|
getSoftwareRecipeOrBuilder()
public GuestPolicies.SoftwareRecipeOrBuilder getSoftwareRecipeOrBuilder()A software recipe to configure on the VM instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe software_recipe = 2;
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.SoftwareRecipeOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe other)
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder mergeFrom(GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe other)| Parameter | |
|---|---|
| Name | Description |
other |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
GuestPolicies.SoftwareRecipe |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
GuestPolicies.SoftwareRecipe |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GuestPolicies.SoftwareRecipe.Builder |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
|
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 |
StringThe source to set. |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for source to set. |
| Returns | |
|---|---|
| Type | Description |
GuestPolicies.EffectiveGuestPolicy.SourcedSoftwareRecipe.Builder |
This builder for chaining. |