public static final class ExamplesRestrictionsNamespace.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExamplesRestrictionsNamespace.Builder> implements ExamplesRestrictionsNamespaceOrBuilder
Restrictions namespace for example-based explanations overrides.Protobuf type
google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace| Modifier and Type | Method and Description |
|---|---|
ExamplesRestrictionsNamespace.Builder |
addAllAllow(Iterable<String> values)
The list of allowed tags.
|
ExamplesRestrictionsNamespace.Builder |
addAllDeny(Iterable<String> values)
The list of deny tags.
|
ExamplesRestrictionsNamespace.Builder |
addAllow(String value)
The list of allowed tags.
|
ExamplesRestrictionsNamespace.Builder |
addAllowBytes(com.google.protobuf.ByteString value)
The list of allowed tags.
|
ExamplesRestrictionsNamespace.Builder |
addDeny(String value)
The list of deny tags.
|
ExamplesRestrictionsNamespace.Builder |
addDenyBytes(com.google.protobuf.ByteString value)
The list of deny tags.
|
ExamplesRestrictionsNamespace |
build() |
ExamplesRestrictionsNamespace |
buildPartial() |
ExamplesRestrictionsNamespace.Builder |
clear() |
ExamplesRestrictionsNamespace.Builder |
clearAllow()
The list of allowed tags.
|
ExamplesRestrictionsNamespace.Builder |
clearDeny()
The list of deny tags.
|
ExamplesRestrictionsNamespace.Builder |
clearNamespaceName()
The namespace name.
|
String |
getAllow(int index)
The list of allowed tags.
|
com.google.protobuf.ByteString |
getAllowBytes(int index)
The list of allowed tags.
|
int |
getAllowCount()
The list of allowed tags.
|
com.google.protobuf.ProtocolStringList |
getAllowList()
The list of allowed tags.
|
ExamplesRestrictionsNamespace |
getDefaultInstanceForType() |
String |
getDeny(int index)
The list of deny tags.
|
com.google.protobuf.ByteString |
getDenyBytes(int index)
The list of deny tags.
|
int |
getDenyCount()
The list of deny tags.
|
com.google.protobuf.ProtocolStringList |
getDenyList()
The list of deny tags.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNamespaceName()
The namespace name.
|
com.google.protobuf.ByteString |
getNamespaceNameBytes()
The namespace name.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExamplesRestrictionsNamespace.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExamplesRestrictionsNamespace.Builder |
mergeFrom(ExamplesRestrictionsNamespace other) |
ExamplesRestrictionsNamespace.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExamplesRestrictionsNamespace.Builder |
setAllow(int index,
String value)
The list of allowed tags.
|
ExamplesRestrictionsNamespace.Builder |
setDeny(int index,
String value)
The list of deny tags.
|
ExamplesRestrictionsNamespace.Builder |
setNamespaceName(String value)
The namespace name.
|
ExamplesRestrictionsNamespace.Builder |
setNamespaceNameBytes(com.google.protobuf.ByteString value)
The namespace name.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExamplesRestrictionsNamespace.Builder>public ExamplesRestrictionsNamespace.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ExamplesRestrictionsNamespace.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExamplesRestrictionsNamespace.Builder>public ExamplesRestrictionsNamespace getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExamplesRestrictionsNamespace build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExamplesRestrictionsNamespace buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExamplesRestrictionsNamespace.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExamplesRestrictionsNamespace.Builder>public ExamplesRestrictionsNamespace.Builder mergeFrom(ExamplesRestrictionsNamespace other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExamplesRestrictionsNamespace.Builder>public ExamplesRestrictionsNamespace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExamplesRestrictionsNamespace.Builder>IOExceptionpublic String getNamespaceName()
The namespace name.
string namespace_name = 1;getNamespaceName in interface ExamplesRestrictionsNamespaceOrBuilderpublic com.google.protobuf.ByteString getNamespaceNameBytes()
The namespace name.
string namespace_name = 1;getNamespaceNameBytes in interface ExamplesRestrictionsNamespaceOrBuilderpublic ExamplesRestrictionsNamespace.Builder setNamespaceName(String value)
The namespace name.
string namespace_name = 1;value - The namespaceName to set.public ExamplesRestrictionsNamespace.Builder clearNamespaceName()
The namespace name.
string namespace_name = 1;public ExamplesRestrictionsNamespace.Builder setNamespaceNameBytes(com.google.protobuf.ByteString value)
The namespace name.
string namespace_name = 1;value - The bytes for namespaceName to set.public com.google.protobuf.ProtocolStringList getAllowList()
The list of allowed tags.
repeated string allow = 2;getAllowList in interface ExamplesRestrictionsNamespaceOrBuilderpublic int getAllowCount()
The list of allowed tags.
repeated string allow = 2;getAllowCount in interface ExamplesRestrictionsNamespaceOrBuilderpublic String getAllow(int index)
The list of allowed tags.
repeated string allow = 2;getAllow in interface ExamplesRestrictionsNamespaceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAllowBytes(int index)
The list of allowed tags.
repeated string allow = 2;getAllowBytes in interface ExamplesRestrictionsNamespaceOrBuilderindex - The index of the value to return.public ExamplesRestrictionsNamespace.Builder setAllow(int index, String value)
The list of allowed tags.
repeated string allow = 2;index - The index to set the value at.value - The allow to set.public ExamplesRestrictionsNamespace.Builder addAllow(String value)
The list of allowed tags.
repeated string allow = 2;value - The allow to add.public ExamplesRestrictionsNamespace.Builder addAllAllow(Iterable<String> values)
The list of allowed tags.
repeated string allow = 2;values - The allow to add.public ExamplesRestrictionsNamespace.Builder clearAllow()
The list of allowed tags.
repeated string allow = 2;public ExamplesRestrictionsNamespace.Builder addAllowBytes(com.google.protobuf.ByteString value)
The list of allowed tags.
repeated string allow = 2;value - The bytes of the allow to add.public com.google.protobuf.ProtocolStringList getDenyList()
The list of deny tags.
repeated string deny = 3;getDenyList in interface ExamplesRestrictionsNamespaceOrBuilderpublic int getDenyCount()
The list of deny tags.
repeated string deny = 3;getDenyCount in interface ExamplesRestrictionsNamespaceOrBuilderpublic String getDeny(int index)
The list of deny tags.
repeated string deny = 3;getDeny in interface ExamplesRestrictionsNamespaceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDenyBytes(int index)
The list of deny tags.
repeated string deny = 3;getDenyBytes in interface ExamplesRestrictionsNamespaceOrBuilderindex - The index of the value to return.public ExamplesRestrictionsNamespace.Builder setDeny(int index, String value)
The list of deny tags.
repeated string deny = 3;index - The index to set the value at.value - The deny to set.public ExamplesRestrictionsNamespace.Builder addDeny(String value)
The list of deny tags.
repeated string deny = 3;value - The deny to add.public ExamplesRestrictionsNamespace.Builder addAllDeny(Iterable<String> values)
The list of deny tags.
repeated string deny = 3;values - The deny to add.public ExamplesRestrictionsNamespace.Builder clearDeny()
The list of deny tags.
repeated string deny = 3;public ExamplesRestrictionsNamespace.Builder addDenyBytes(com.google.protobuf.ByteString value)
The list of deny tags.
repeated string deny = 3;value - The bytes of the deny to add.Copyright © 2026 Google LLC. All rights reserved.