Class JiraSource.JiraQueries (3.54.0)

public static final class JiraSource.JiraQueries extends GeneratedMessageV3 implements JiraSource.JiraQueriesOrBuilder

JiraQueries contains the Jira queries and corresponding authentication.

Protobuf type google.cloud.aiplatform.v1beta1.JiraSource.JiraQueries

Static Fields

API_KEY_CONFIG_FIELD_NUMBER

public static final int API_KEY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_QUERIES_FIELD_NUMBER

public static final int CUSTOM_QUERIES_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
Type Description
int

PROJECTS_FIELD_NUMBER

public static final int PROJECTS_FIELD_NUMBER
Field Value
Type Description
int

SERVER_URI_FIELD_NUMBER

public static final int SERVER_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JiraSource.JiraQueries getDefaultInstance()
Returns
Type Description
JiraSource.JiraQueries

getDescriptor()

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

newBuilder()

public static JiraSource.JiraQueries.Builder newBuilder()
Returns
Type Description
JiraSource.JiraQueries.Builder

newBuilder(JiraSource.JiraQueries prototype)

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

parseDelimitedFrom(InputStream input)

public static JiraSource.JiraQueries parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JiraSource.JiraQueries
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static JiraSource.JiraQueries parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JiraSource.JiraQueries
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static JiraSource.JiraQueries parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JiraSource.JiraQueries
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static JiraSource.JiraQueries parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JiraSource.JiraQueries
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static JiraSource.JiraQueries parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JiraSource.JiraQueries
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<JiraSource.JiraQueries> parser()
Returns
Type Description
Parser<JiraQueries>

Methods

equals(Object obj)

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

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 (https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiAuth.ApiKeyConfig

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 (https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiAuth.ApiKeyConfigOrBuilder

getCustomQueries(int index)

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The customQueries at the given index.

getCustomQueriesBytes(int index)

public 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the customQueries at the given index.

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;

Returns
Type Description
int

The count of customQueries.

getCustomQueriesList()

public 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;

Returns
Type Description
ProtocolStringList

A list containing the customQueries.

getDefaultInstanceForType()

public JiraSource.JiraQueries getDefaultInstanceForType()
Returns
Type Description
JiraSource.JiraQueries

getEmail()

public String getEmail()

Required. The Jira email address.

string email = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Required. The Jira email address.

string email = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for email.

getParserForType()

public Parser<JiraSource.JiraQueries> getParserForType()
Returns
Type Description
Parser<JiraQueries>
Overrides

getProjects(int index)

public String getProjects(int index)

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The projects at the given index.

getProjectsBytes(int index)

public ByteString getProjectsBytes(int index)

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the projects at the given index.

getProjectsCount()

public int getProjectsCount()

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Returns
Type Description
int

The count of projects.

getProjectsList()

public ProtocolStringList getProjectsList()

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Returns
Type Description
ProtocolStringList

A list containing the projects.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerUri()

public String getServerUri()

Required. The Jira server URI.

string server_uri = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serverUri.

getServerUriBytes()

public ByteString getServerUriBytes()

Required. The Jira server URI.

string server_uri = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

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 (https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the apiKeyConfig field is set.

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 JiraSource.JiraQueries.Builder newBuilderForType()
Returns
Type Description
JiraSource.JiraQueries.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public JiraSource.JiraQueries.Builder toBuilder()
Returns
Type Description
JiraSource.JiraQueries.Builder

writeTo(CodedOutputStream output)

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