Class JiraSource.JiraQueries.Builder (3.56.0)

public static final class JiraSource.JiraQueries.Builder extends GeneratedMessageV3.Builder<JiraSource.JiraQueries.Builder> implements JiraSource.JiraQueriesOrBuilder

JiraQueries contains the Jira queries and corresponding authentication.

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

Static Methods

getDescriptor()

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

Methods

addAllCustomQueries(Iterable<String> values)

public JiraSource.JiraQueries.Builder addAllCustomQueries(Iterable<String> values)

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
values Iterable<String>

The customQueries to add.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

addAllProjects(Iterable<String> values)

public JiraSource.JiraQueries.Builder addAllProjects(Iterable<String> values)

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Parameter
Name Description
values Iterable<String>

The projects to add.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

addCustomQueries(String value)

public JiraSource.JiraQueries.Builder addCustomQueries(String value)

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
value String

The customQueries to add.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

addCustomQueriesBytes(ByteString value)

public JiraSource.JiraQueries.Builder addCustomQueriesBytes(ByteString value)

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
value ByteString

The bytes of the customQueries to add.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

addProjects(String value)

public JiraSource.JiraQueries.Builder addProjects(String value)

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Parameter
Name Description
value String

The projects to add.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

addProjectsBytes(ByteString value)

public JiraSource.JiraQueries.Builder addProjectsBytes(ByteString value)

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Parameter
Name Description
value ByteString

The bytes of the projects to add.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JiraSource.JiraQueries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

build()

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

buildPartial()

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

clear()

public JiraSource.JiraQueries.Builder clear()
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

clearApiKeyConfig()

public JiraSource.JiraQueries.Builder clearApiKeyConfig()

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.

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

Returns
Type Description
JiraSource.JiraQueries.Builder

clearCustomQueries()

public JiraSource.JiraQueries.Builder clearCustomQueries()

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
JiraSource.JiraQueries.Builder

This builder for chaining.

clearEmail()

public JiraSource.JiraQueries.Builder clearEmail()

Required. The Jira email address.

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

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public JiraSource.JiraQueries.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public JiraSource.JiraQueries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

clearProjects()

public JiraSource.JiraQueries.Builder clearProjects()

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

clearServerUri()

public JiraSource.JiraQueries.Builder clearServerUri()

Required. The Jira server URI.

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

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

clone()

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

getApiKeyConfigBuilder()

public ApiAuth.ApiKeyConfig.Builder getApiKeyConfigBuilder()

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.

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

Returns
Type Description
ApiAuth.ApiKeyConfig.Builder

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.

.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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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. See 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiKeyConfig(ApiAuth.ApiKeyConfig value)

public JiraSource.JiraQueries.Builder mergeApiKeyConfig(ApiAuth.ApiKeyConfig value)

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.

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

Parameter
Name Description
value ApiAuth.ApiKeyConfig
Returns
Type Description
JiraSource.JiraQueries.Builder

mergeFrom(JiraSource.JiraQueries other)

public JiraSource.JiraQueries.Builder mergeFrom(JiraSource.JiraQueries other)
Parameter
Name Description
other JiraSource.JiraQueries
Returns
Type Description
JiraSource.JiraQueries.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JiraSource.JiraQueries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public JiraSource.JiraQueries.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JiraSource.JiraQueries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

setApiKeyConfig(ApiAuth.ApiKeyConfig value)

public JiraSource.JiraQueries.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig value)

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.

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

Parameter
Name Description
value ApiAuth.ApiKeyConfig
Returns
Type Description
JiraSource.JiraQueries.Builder

setApiKeyConfig(ApiAuth.ApiKeyConfig.Builder builderForValue)

public JiraSource.JiraQueries.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig.Builder builderForValue)

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.

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

Parameter
Name Description
builderForValue ApiAuth.ApiKeyConfig.Builder
Returns
Type Description
JiraSource.JiraQueries.Builder

setCustomQueries(int index, String value)

public JiraSource.JiraQueries.Builder setCustomQueries(int index, String value)

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;

Parameters
Name Description
index int

The index to set the value at.

value String

The customQueries to set.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

setEmail(String value)

public JiraSource.JiraQueries.Builder setEmail(String value)

Required. The Jira email address.

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

Parameter
Name Description
value String

The email to set.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public JiraSource.JiraQueries.Builder setEmailBytes(ByteString value)

Required. The Jira email address.

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

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public JiraSource.JiraQueries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

setProjects(int index, String value)

public JiraSource.JiraQueries.Builder setProjects(int index, String value)

A list of Jira projects to import in their entirety.

repeated string projects = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The projects to set.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public JiraSource.JiraQueries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides

setServerUri(String value)

public JiraSource.JiraQueries.Builder setServerUri(String value)

Required. The Jira server URI.

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

Parameter
Name Description
value String

The serverUri to set.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

setServerUriBytes(ByteString value)

public JiraSource.JiraQueries.Builder setServerUriBytes(ByteString value)

Required. The Jira server URI.

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

Parameter
Name Description
value ByteString

The bytes for serverUri to set.

Returns
Type Description
JiraSource.JiraQueries.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final JiraSource.JiraQueries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JiraSource.JiraQueries.Builder
Overrides