public final class ExamplesRestrictionsNamespace extends GeneratedMessageV3 implements ExamplesRestrictionsNamespaceOrBuilder
Restrictions namespace for example-based explanations overrides.
Protobuf type google.cloud.vertexai.v1.ExamplesRestrictionsNamespace
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExamplesRestrictionsNamespace.Builder newBuilder()
newBuilder(ExamplesRestrictionsNamespace prototype)
public static ExamplesRestrictionsNamespace.Builder newBuilder(ExamplesRestrictionsNamespace prototype)
public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input)
public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExamplesRestrictionsNamespace parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExamplesRestrictionsNamespace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExamplesRestrictionsNamespace parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExamplesRestrictionsNamespace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExamplesRestrictionsNamespace parseFrom(CodedInputStream input)
public static ExamplesRestrictionsNamespace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExamplesRestrictionsNamespace parseFrom(InputStream input)
public static ExamplesRestrictionsNamespace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExamplesRestrictionsNamespace> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
getDefaultInstanceForType()
public ExamplesRestrictionsNamespace getDefaultInstanceForType()
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;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExamplesRestrictionsNamespace.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExamplesRestrictionsNamespace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExamplesRestrictionsNamespace.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides