public final class ExamplesRestrictionsNamespace extends GeneratedMessageV3 implements ExamplesRestrictionsNamespaceOrBuilder
Restrictions namespace for example-based explanations overrides.
Protobuf type google.cloud.aiplatform.v1beta1.ExamplesRestrictionsNamespace
Static Fields
public static final int ALLOW_FIELD_NUMBER
Field Value
public static final int DENY_FIELD_NUMBER
Field Value
public static final int NAMESPACE_NAME_FIELD_NUMBER
Field Value
Static Methods
public static ExamplesRestrictionsNamespace getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ExamplesRestrictionsNamespace.Builder newBuilder()
Returns
public static ExamplesRestrictionsNamespace.Builder newBuilder(ExamplesRestrictionsNamespace prototype)
Parameter
Returns
public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ExamplesRestrictionsNamespace> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String getAllow(int index)
The list of allowed tags.
repeated string allow = 2;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The allow at the given index.
|
public ByteString getAllowBytes(int index)
The list of allowed tags.
repeated string allow = 2;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the allow at the given index.
|
public int getAllowCount()
The list of allowed tags.
repeated string allow = 2;
Returns
Type | Description |
int | The count of allow.
|
public ProtocolStringList getAllowList()
The list of allowed tags.
repeated string allow = 2;
Returns
public ExamplesRestrictionsNamespace getDefaultInstanceForType()
Returns
public String getDeny(int index)
The list of deny tags.
repeated string deny = 3;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The deny at the given index.
|
public ByteString getDenyBytes(int index)
The list of deny tags.
repeated string deny = 3;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the deny at the given index.
|
public int getDenyCount()
The list of deny tags.
repeated string deny = 3;
Returns
Type | Description |
int | The count of deny.
|
public ProtocolStringList getDenyList()
The list of deny tags.
repeated string deny = 3;
Returns
public String getNamespaceName()
The namespace name.
string namespace_name = 1;
Returns
Type | Description |
String | The namespaceName.
|
public ByteString getNamespaceNameBytes()
The namespace name.
string namespace_name = 1;
Returns
Type | Description |
ByteString | The bytes for namespaceName.
|
public Parser<ExamplesRestrictionsNamespace> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ExamplesRestrictionsNamespace.Builder newBuilderForType()
Returns
protected ExamplesRestrictionsNamespace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ExamplesRestrictionsNamespace.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions