Class JiraSource.JiraQueries

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.JiraSource.JiraQueries
All Implemented Interfaces:
JiraSource.JiraQueriesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
JiraSource

public static final class JiraSource.JiraQueries extends com.google.protobuf.GeneratedMessage implements JiraSource.JiraQueriesOrBuilder
 JiraQueries contains the Jira queries and corresponding authentication.
 
Protobuf type google.cloud.aiplatform.v1.JiraSource.JiraQueries
See Also:
  • Field Details

    • PROJECTS_FIELD_NUMBER

      public static final int PROJECTS_FIELD_NUMBER
      See Also:
    • CUSTOM_QUERIES_FIELD_NUMBER

      public static final int CUSTOM_QUERIES_FIELD_NUMBER
      See Also:
    • EMAIL_FIELD_NUMBER

      public static final int EMAIL_FIELD_NUMBER
      See Also:
    • SERVER_URI_FIELD_NUMBER

      public static final int SERVER_URI_FIELD_NUMBER
      See Also:
    • API_KEY_CONFIG_FIELD_NUMBER

      public static final int API_KEY_CONFIG_FIELD_NUMBER
      See Also:
  • 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
    • getProjectsList

      public com.google.protobuf.ProtocolStringList getProjectsList()
       A list of Jira projects to import in their entirety.
       
      repeated string projects = 3;
      Specified by:
      getProjectsList in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      A list containing the projects.
    • getProjectsCount

      public int getProjectsCount()
       A list of Jira projects to import in their entirety.
       
      repeated string projects = 3;
      Specified by:
      getProjectsCount in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      The count of projects.
    • getProjects

      public String getProjects(int index)
       A list of Jira projects to import in their entirety.
       
      repeated string projects = 3;
      Specified by:
      getProjects in interface JiraSource.JiraQueriesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The projects at the given index.
    • getProjectsBytes

      public com.google.protobuf.ByteString getProjectsBytes(int index)
       A list of Jira projects to import in their entirety.
       
      repeated string projects = 3;
      Specified by:
      getProjectsBytes in interface JiraSource.JiraQueriesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the projects at the given index.
    • getCustomQueriesList

      public com.google.protobuf.ProtocolStringList getCustomQueriesList()
       A list of custom Jira queries to import. For information about JQL (Jira
       Query Language), see
       https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/
       
      repeated string custom_queries = 4;
      Specified by:
      getCustomQueriesList in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      A list containing the customQueries.
    • getCustomQueriesCount

      public int getCustomQueriesCount()
       A list of custom Jira queries to import. For information about JQL (Jira
       Query Language), see
       https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/
       
      repeated string custom_queries = 4;
      Specified by:
      getCustomQueriesCount in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      The count of customQueries.
    • getCustomQueries

      public String getCustomQueries(int index)
       A list of custom Jira queries to import. For information about JQL (Jira
       Query Language), see
       https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/
       
      repeated string custom_queries = 4;
      Specified by:
      getCustomQueries in interface JiraSource.JiraQueriesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The customQueries at the given index.
    • getCustomQueriesBytes

      public com.google.protobuf.ByteString getCustomQueriesBytes(int index)
       A list of custom Jira queries to import. For information about JQL (Jira
       Query Language), see
       https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/
       
      repeated string custom_queries = 4;
      Specified by:
      getCustomQueriesBytes in interface JiraSource.JiraQueriesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the customQueries at the given index.
    • getEmail

      public String getEmail()
       Required. The Jira email address.
       
      string email = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEmail in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      The email.
    • getEmailBytes

      public com.google.protobuf.ByteString getEmailBytes()
       Required. The Jira email address.
       
      string email = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEmailBytes in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      The bytes for email.
    • getServerUri

      public String getServerUri()
       Required. The Jira server URI.
       
      string server_uri = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServerUri in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      The serverUri.
    • getServerUriBytes

      public com.google.protobuf.ByteString getServerUriBytes()
       Required. The Jira server URI.
       
      string server_uri = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServerUriBytes in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      The bytes for serverUri.
    • hasApiKeyConfig

      public boolean hasApiKeyConfig()
       Required. The SecretManager secret version resource name (e.g.
       projects/{project}/secrets/{secret}/versions/{version}) storing the
       Jira API key. See [Manage API tokens for your Atlassian
       account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
       
      .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasApiKeyConfig in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      Whether the apiKeyConfig field is set.
    • getApiKeyConfig

      public ApiAuth.ApiKeyConfig getApiKeyConfig()
       Required. The SecretManager secret version resource name (e.g.
       projects/{project}/secrets/{secret}/versions/{version}) storing the
       Jira API key. See [Manage API tokens for your Atlassian
       account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
       
      .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiKeyConfig in interface JiraSource.JiraQueriesOrBuilder
      Returns:
      The apiKeyConfig.
    • getApiKeyConfigOrBuilder

      public ApiAuth.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
       Required. The SecretManager secret version resource name (e.g.
       projects/{project}/secrets/{secret}/versions/{version}) storing the
       Jira API key. See [Manage API tokens for your Atlassian
       account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
       
      .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiKeyConfigOrBuilder in interface JiraSource.JiraQueriesOrBuilder
    • 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 JiraSource.JiraQueries parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static JiraSource.JiraQueries parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static JiraSource.JiraQueries parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static JiraSource.JiraQueries.Builder newBuilder()
    • newBuilder

      public static JiraSource.JiraQueries.Builder newBuilder(JiraSource.JiraQueries prototype)
    • toBuilder

      public JiraSource.JiraQueries.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static JiraSource.JiraQueries getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<JiraSource.JiraQueries> 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 JiraSource.JiraQueries getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder