public static final class BundleInstallSpec.Builder extends GeneratedMessage.Builder<BundleInstallSpec.Builder> implements BundleInstallSpecOrBuilderBundleInstallSpec is the specification configuration for a single managed bundle.
Protobuf type google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BundleInstallSpec.BuilderImplements
BundleInstallSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExemptedNamespaces(Iterable<String> values)
public BundleInstallSpec.Builder addAllExemptedNamespaces(Iterable<String> values)The set of namespaces to be exempted from the bundle.
repeated string exempted_namespaces = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The exemptedNamespaces to add. |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
This builder for chaining. |
addExemptedNamespaces(String value)
public BundleInstallSpec.Builder addExemptedNamespaces(String value)The set of namespaces to be exempted from the bundle.
repeated string exempted_namespaces = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe exemptedNamespaces to add. |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
This builder for chaining. |
addExemptedNamespacesBytes(ByteString value)
public BundleInstallSpec.Builder addExemptedNamespacesBytes(ByteString value)The set of namespaces to be exempted from the bundle.
repeated string exempted_namespaces = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the exemptedNamespaces to add. |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
This builder for chaining. |
build()
public BundleInstallSpec build()| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec |
|
buildPartial()
public BundleInstallSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec |
|
clear()
public BundleInstallSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
|
clearExemptedNamespaces()
public BundleInstallSpec.Builder clearExemptedNamespaces()The set of namespaces to be exempted from the bundle.
repeated string exempted_namespaces = 2;
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BundleInstallSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BundleInstallSpec other)
public BundleInstallSpec.Builder mergeFrom(BundleInstallSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
BundleInstallSpec |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BundleInstallSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BundleInstallSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
|
setExemptedNamespaces(int index, String value)
public BundleInstallSpec.Builder setExemptedNamespaces(int index, String value)The set of namespaces to be exempted from the bundle.
repeated string exempted_namespaces = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe exemptedNamespaces to set. |
| Returns | |
|---|---|
| Type | Description |
BundleInstallSpec.Builder |
This builder for chaining. |