Class GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder (2.22.0)

public static final class GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder extends GeneratedMessageV3.Builder<GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder> implements GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder

A guest policy package repository including its source.

Protobuf type google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder
Overrides

build()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository build()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository

buildPartial()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository buildPartial()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository

clear()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder clear()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder
Overrides

clearPackageRepository()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder clearPackageRepository()

A software package repository to configure on the VM instance.

.google.cloud.osconfig.v1beta.PackageRepository package_repository = 2;

Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder

clearSource()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder clearSource()

Name of the guest policy providing this config.

string source = 1;

Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder

This builder for chaining.

clone()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder clone()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository.Builder
Overrides

getDefaultInstanceForType()

public GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getDefaultInstanceForType()
Returns
TypeDescription
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPackageRepository()

public GuestPolicies.PackageRepository getPackageRepository()

A software package repository to configure on the VM instance.

.google.cloud.osconfig.v1beta.PackageRepository package_repository = 2;

Returns
TypeDescription
GuestPolicies.PackageRepository

The packageRepository.

getPackageRepositoryBuilder()

public GuestPolicies.PackageRepository.Builder getPackageRepositoryBuilder()

A software package repository to configure on the VM instance.

.google.cloud.osconfig.v1beta.PackageRepository package_repository = 2;

Returns
TypeD