Class ExamplesRestrictionsNamespace (3.45.0)

public final class ExamplesRestrictionsNamespace extends GeneratedMessageV3 implements ExamplesRestrictionsNamespaceOrBuilder

Restrictions namespace for example-based explanations overrides.

Protobuf type google.cloud.aiplatform.v1beta1.ExamplesRestrictionsNamespace

Static Fields

ALLOW_FIELD_NUMBER

public static final int ALLOW_FIELD_NUMBER
Field Value
Type Description
int

DENY_FIELD_NUMBER

public static final int DENY_FIELD_NUMBER
Field Value
Type Description
int

NAMESPACE_NAME_FIELD_NUMBER

public static final int NAMESPACE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExamplesRestrictionsNamespace getDefaultInstance()
Returns
Type Description
ExamplesRestrictionsNamespace

getDescriptor()

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

newBuilder()

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

newBuilder(ExamplesRestrictionsNamespace prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAllow(int index)

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.

getAllowBytes(int 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.

getAllowCount()

public int getAllowCount()

The list of allowed tags.

repeated string allow = 2;

Returns
Type Description
int

The count of allow.

getAllowList()

public ProtocolStringList getAllowList()

The list of allowed tags.

repeated string allow = 2;

Returns
Type Description
ProtocolStringList

A list containing the allow.

getDefaultInstanceForType()

public ExamplesRestrictionsNamespace getDefaultInstanceForType()
Returns
Type Description
ExamplesRestrictionsNamespace

getDeny(int index)

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.

getDenyBytes(int 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.

getDenyCount()

public int getDenyCount()

The list of deny tags.

repeated string deny = 3;

Returns
Type Description
int

The count of deny.

getDenyList()

public ProtocolStringList getDenyList()

The list of deny tags.

repeated string deny = 3;

Returns
Type Description
ProtocolStringList

A list containing the deny.

getNamespaceName()

public String getNamespaceName()

The namespace name.

string namespace_name = 1;

Returns
Type Description
String

The namespaceName.

getNamespaceNameBytes()

public ByteString getNamespaceNameBytes()

The namespace name.

string namespace_name = 1;

Returns
Type Description
ByteString

The bytes for namespaceName.

getParserForType()

public Parser<ExamplesRestrictionsNamespace> getParserForType()
Returns
Type Description
Parser<ExamplesRestrictionsNamespace>
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 ExamplesRestrictionsNamespace.Builder newBuilderForType()
Returns
Type Description
ExamplesRestrictionsNamespace.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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