Class ExamplesRestrictionsNamespace (3.3.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
TypeDescription
int

DENY_FIELD_NUMBER

public static final int DENY_FIELD_NUMBER
Field Value
TypeDescription
int

NAMESPACE_NAME_FIELD_NUMBER

public static final int NAMESPACE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExamplesRestrictionsNamespace getDefaultInstance()
Returns
TypeDescription
ExamplesRestrictionsNamespace

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExamplesRestrictionsNamespace.Builder newBuilder()
Returns
TypeDescription
ExamplesRestrictionsNamespace.Builder

newBuilder(ExamplesRestrictionsNamespace prototype)

public static ExamplesRestrictionsNamespace.Builder newBuilder(ExamplesRestrictionsNamespace prototype)
Parameter
NameDescription
prototypeExamplesRestrictionsNamespace
Returns
TypeDescription
ExamplesRestrictionsNamespace.Builder

parseDelimitedFrom(InputStream input)

public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExamplesRestrictionsNamespace parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExamplesRestrictionsNamespace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExamplesRestrictionsNamespace parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExamplesRestrictionsNamespace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExamplesRestrictionsNamespace parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExamplesRestrictionsNamespace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExamplesRestrictionsNamespace parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExamplesRestrictionsNamespace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExamplesRestrictionsNamespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExamplesRestrictionsNamespace> parser()
Returns
TypeDescription
Parser<ExamplesRestrictionsNamespace>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAllow(int index)

public String getAllow(int index)

The list of allowed tags.

repeated string allow = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allow at the given index.

getAllowCount()

public int getAllowCount()

The list of allowed tags.

repeated string allow = 2;

Returns
TypeDescription
int

The count of allow.

getAllowList()

public ProtocolStringList getAllowList()

The list of allowed tags.

repeated string allow = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the allow.

getDefaultInstanceForType()

public ExamplesRestrictionsNamespace getDefaultInstanceForType()
Returns
TypeDescription
ExamplesRestrictionsNamespace

getDeny(int index)

public String getDeny(int index)

The list of deny tags.

repeated string deny = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the deny at the given index.

getDenyCount()

public int getDenyCount()

The list of deny tags.

repeated string deny = 3;

Returns
TypeDescription
int

The count of deny.

getDenyList()

public ProtocolStringList getDenyList()

The list of deny tags.

repeated string deny = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the deny.

getNamespaceName()

public String getNamespaceName()

The namespace name.

string namespace_name = 1;

Returns
TypeDescription
String

The namespaceName.

getNamespaceNameBytes()

public ByteString getNamespaceNameBytes()

The namespace name.

string namespace_name = 1;

Returns
TypeDescription
ByteString

The bytes for namespaceName.

getParserForType()

public Parser<ExamplesRestrictionsNamespace> getParserForType()
Returns
TypeDescription
Parser<ExamplesRestrictionsNamespace>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExamplesRestrictionsNamespace.Builder newBuilderForType()
Returns
TypeDescription
ExamplesRestrictionsNamespace.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExamplesRestrictionsNamespace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExamplesRestrictionsNamespace.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExamplesRestrictionsNamespace.Builder toBuilder()
Returns
TypeDescription
ExamplesRestrictionsNamespace.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException