Class ExamplesRestrictionsNamespace

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace
All Implemented Interfaces:
ExamplesRestrictionsNamespaceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ExamplesRestrictionsNamespace extends com.google.protobuf.GeneratedMessage implements ExamplesRestrictionsNamespaceOrBuilder
 Restrictions namespace for example-based explanations overrides.
 
Protobuf type google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getNamespaceName

      public String getNamespaceName()
       The namespace name.
       
      string namespace_name = 1;
      Specified by:
      getNamespaceName in interface ExamplesRestrictionsNamespaceOrBuilder
      Returns:
      The namespaceName.
    • getNamespaceNameBytes

      public com.google.protobuf.ByteString getNamespaceNameBytes()
       The namespace name.
       
      string namespace_name = 1;
      Specified by:
      getNamespaceNameBytes in interface ExamplesRestrictionsNamespaceOrBuilder
      Returns:
      The bytes for namespaceName.
    • getAllowList

      public com.google.protobuf.ProtocolStringList getAllowList()
       The list of allowed tags.
       
      repeated string allow = 2;
      Specified by:
      getAllowList in interface ExamplesRestrictionsNamespaceOrBuilder
      Returns:
      A list containing the allow.
    • getAllowCount

      public int getAllowCount()
       The list of allowed tags.
       
      repeated string allow = 2;
      Specified by:
      getAllowCount in interface ExamplesRestrictionsNamespaceOrBuilder
      Returns:
      The count of allow.
    • getAllow

      public String getAllow(int index)
       The list of allowed tags.
       
      repeated string allow = 2;
      Specified by:
      getAllow in interface ExamplesRestrictionsNamespaceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The allow at the given index.
    • getAllowBytes

      public com.google.protobuf.ByteString getAllowBytes(int index)
       The list of allowed tags.
       
      repeated string allow = 2;
      Specified by:
      getAllowBytes in interface ExamplesRestrictionsNamespaceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the allow at the given index.
    • getDenyList

      public com.google.protobuf.ProtocolStringList getDenyList()
       The list of deny tags.
       
      repeated string deny = 3;
      Specified by:
      getDenyList in interface ExamplesRestrictionsNamespaceOrBuilder
      Returns:
      A list containing the deny.
    • getDenyCount

      public int getDenyCount()
       The list of deny tags.
       
      repeated string deny = 3;
      Specified by:
      getDenyCount in interface ExamplesRestrictionsNamespaceOrBuilder
      Returns:
      The count of deny.
    • getDeny

      public String getDeny(int index)
       The list of deny tags.
       
      repeated string deny = 3;
      Specified by:
      getDeny in interface ExamplesRestrictionsNamespaceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The deny at the given index.
    • getDenyBytes

      public com.google.protobuf.ByteString getDenyBytes(int index)
       The list of deny tags.
       
      repeated string deny = 3;
      Specified by:
      getDenyBytes in interface ExamplesRestrictionsNamespaceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the deny at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExamplesRestrictionsNamespace parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExamplesRestrictionsNamespace parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ExamplesRestrictionsNamespace.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ExamplesRestrictionsNamespace.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ExamplesRestrictionsNamespace.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ExamplesRestrictionsNamespace getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ExamplesRestrictionsNamespace> parser()
    • getParserForType

      public com.google.protobuf.Parser<ExamplesRestrictionsNamespace> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ExamplesRestrictionsNamespace getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder