Class BundleInstallSpec (1.54.0)

public final class BundleInstallSpec extends GeneratedMessageV3 implements BundleInstallSpecOrBuilder

BundleInstallSpec is the specification configuration for a single managed bundle.

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

Static Fields

EXEMPTED_NAMESPACES_FIELD_NUMBER

public static final int EXEMPTED_NAMESPACES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BundleInstallSpec getDefaultInstance()
Returns
Type Description
BundleInstallSpec

getDescriptor()

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

newBuilder()

public static BundleInstallSpec.Builder newBuilder()
Returns
Type Description
BundleInstallSpec.Builder

newBuilder(BundleInstallSpec prototype)

public static BundleInstallSpec.Builder newBuilder(BundleInstallSpec prototype)
Parameter
Name Description
prototype BundleInstallSpec
Returns
Type Description
BundleInstallSpec.Builder

parseDelimitedFrom(InputStream input)

public static BundleInstallSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BundleInstallSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BundleInstallSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BundleInstallSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BundleInstallSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BundleInstallSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BundleInstallSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BundleInstallSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BundleInstallSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BundleInstallSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BundleInstallSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BundleInstallSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundleInstallSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BundleInstallSpec> parser()
Returns
Type Description
Parser<BundleInstallSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BundleInstallSpec getDefaultInstanceForType()
Returns
Type Description
BundleInstallSpec

getExemptedNamespaces(int index)

public String getExemptedNamespaces(int index)

The set of namespaces to be exempted from the bundle.

repeated string exempted_namespaces = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The exemptedNamespaces at the given index.

getExemptedNamespacesBytes(int index)

public ByteString getExemptedNamespacesBytes(int index)

The set of namespaces to be exempted from the bundle.

repeated string exempted_namespaces = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the exemptedNamespaces at the given index.

getExemptedNamespacesCount()

public int getExemptedNamespacesCount()

The set of namespaces to be exempted from the bundle.

repeated string exempted_namespaces = 2;

Returns
Type Description
int

The count of exemptedNamespaces.

getExemptedNamespacesList()

public ProtocolStringList getExemptedNamespacesList()

The set of namespaces to be exempted from the bundle.

repeated string exempted_namespaces = 2;

Returns
Type Description
ProtocolStringList

A list containing the exemptedNamespaces.

getParserForType()

public Parser<BundleInstallSpec> getParserForType()
Returns
Type Description
Parser<BundleInstallSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BundleInstallSpec.Builder newBuilderForType()
Returns
Type Description
BundleInstallSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BundleInstallSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BundleInstallSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BundleInstallSpec.Builder toBuilder()
Returns
Type Description
BundleInstallSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException