Class TemplateLibraryConfig.Builder (1.83.0)

public static final class TemplateLibraryConfig.Builder extends GeneratedMessage.Builder<TemplateLibraryConfig.Builder> implements TemplateLibraryConfigOrBuilder

The config specifying which default library templates to install.

Protobuf type google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TemplateLibraryConfig build()
Returns
Type Description
TemplateLibraryConfig

buildPartial()

public TemplateLibraryConfig buildPartial()
Returns
Type Description
TemplateLibraryConfig

clear()

public TemplateLibraryConfig.Builder clear()
Returns
Type Description
TemplateLibraryConfig.Builder
Overrides

clearInstallation()

public TemplateLibraryConfig.Builder clearInstallation()

Configures the manner in which the template library is installed on the cluster.

.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig.Installation installation = 2;

Returns
Type Description
TemplateLibraryConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public TemplateLibraryConfig getDefaultInstanceForType()
Returns
Type Description
TemplateLibraryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstallation()

public TemplateLibraryConfig.Installation getInstallation()

Configures the manner in which the template library is installed on the cluster.

.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig.Installation installation = 2;

Returns
Type Description
TemplateLibraryConfig.Installation

The installation.

getInstallationValue()

public int getInstallationValue()

Configures the manner in which the template library is installed on the cluster.

.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig.Installation installation = 2;

Returns
Type Description
int

The enum numeric value on the wire for installation.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TemplateLibraryConfig other)

public TemplateLibraryConfig.Builder mergeFrom(TemplateLibraryConfig other)
Parameter
Name Description
other TemplateLibraryConfig
Returns
Type Description
TemplateLibraryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TemplateLibraryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TemplateLibraryConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TemplateLibraryConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TemplateLibraryConfig.Builder
Overrides

setInstallation(TemplateLibraryConfig.Installation value)

public TemplateLibraryConfig.Builder setInstallation(TemplateLibraryConfig.Installation value)

Configures the manner in which the template library is installed on the cluster.

.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig.Installation installation = 2;

Parameter
Name Description
value TemplateLibraryConfig.Installation

The installation to set.

Returns
Type Description
TemplateLibraryConfig.Builder

This builder for chaining.

setInstallationValue(int value)

public TemplateLibraryConfig.Builder setInstallationValue(int value)

Configures the manner in which the template library is installed on the cluster.

.google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig.Installation installation = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for installation to set.

Returns
Type Description
TemplateLibraryConfig.Builder

This builder for chaining.