com.google.api.services.integrations.v1alpha.model.EnterpriseCrmFrontendsEventbusProtoParamSpecEntry Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.integrations.v1alpha.model;
/**
* Key-value pair of EventBus task parameters. Next id: 13
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Application Integration API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class EnterpriseCrmFrontendsEventbusProtoParamSpecEntry extends com.google.api.client.json.GenericJson {
/**
* The FQCN of the Java object this represents. A string, for example, would be
* "java.lang.String". If this is "java.lang.Object", the parameter can be of any type.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String className;
/**
* If it is a collection of objects, this would be the FCQN of every individual element in the
* collection. If this is "java.lang.Object", the parameter is a collection of any type.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String collectionElementClassName;
/**
* Optional fields, such as help text and other useful info.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmEventbusProtoParamSpecEntryConfig config;
/**
* The data type of the parameter.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String dataType;
/**
* Default values for the defined keys. Each value can either be string, int, double or any proto
* message or a serialized object.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmFrontendsEventbusProtoParameterValueType defaultValue;
/**
* If set, this entry is deprecated, so further use of this parameter should be prohibited.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean isDeprecated;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean isOutput;
/**
* If the data_type is JSON_VALUE, then this will define its schema.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String jsonSchema;
/**
* Key is used to retrieve the corresponding parameter value. This should be unique for a given
* task. These parameters must be predefined in the workflow definition.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String key;
/**
* Populated if this represents a proto or proto array.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition protoDef;
/**
* If set, the user must provide an input value for this parameter.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean required;
/**
* Rule used to validate inputs (individual values and collection elements) for this parameter.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmEventbusProtoParamSpecEntryValidationRule validationRule;
/**
* The FQCN of the Java object this represents. A string, for example, would be
* "java.lang.String". If this is "java.lang.Object", the parameter can be of any type.
* @return value or {@code null} for none
*/
public java.lang.String getClassName() {
return className;
}
/**
* The FQCN of the Java object this represents. A string, for example, would be
* "java.lang.String". If this is "java.lang.Object", the parameter can be of any type.
* @param className className or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setClassName(java.lang.String className) {
this.className = className;
return this;
}
/**
* If it is a collection of objects, this would be the FCQN of every individual element in the
* collection. If this is "java.lang.Object", the parameter is a collection of any type.
* @return value or {@code null} for none
*/
public java.lang.String getCollectionElementClassName() {
return collectionElementClassName;
}
/**
* If it is a collection of objects, this would be the FCQN of every individual element in the
* collection. If this is "java.lang.Object", the parameter is a collection of any type.
* @param collectionElementClassName collectionElementClassName or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setCollectionElementClassName(java.lang.String collectionElementClassName) {
this.collectionElementClassName = collectionElementClassName;
return this;
}
/**
* Optional fields, such as help text and other useful info.
* @return value or {@code null} for none
*/
public EnterpriseCrmEventbusProtoParamSpecEntryConfig getConfig() {
return config;
}
/**
* Optional fields, such as help text and other useful info.
* @param config config or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setConfig(EnterpriseCrmEventbusProtoParamSpecEntryConfig config) {
this.config = config;
return this;
}
/**
* The data type of the parameter.
* @return value or {@code null} for none
*/
public java.lang.String getDataType() {
return dataType;
}
/**
* The data type of the parameter.
* @param dataType dataType or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setDataType(java.lang.String dataType) {
this.dataType = dataType;
return this;
}
/**
* Default values for the defined keys. Each value can either be string, int, double or any proto
* message or a serialized object.
* @return value or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParameterValueType getDefaultValue() {
return defaultValue;
}
/**
* Default values for the defined keys. Each value can either be string, int, double or any proto
* message or a serialized object.
* @param defaultValue defaultValue or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setDefaultValue(EnterpriseCrmFrontendsEventbusProtoParameterValueType defaultValue) {
this.defaultValue = defaultValue;
return this;
}
/**
* If set, this entry is deprecated, so further use of this parameter should be prohibited.
* @return value or {@code null} for none
*/
public java.lang.Boolean getIsDeprecated() {
return isDeprecated;
}
/**
* If set, this entry is deprecated, so further use of this parameter should be prohibited.
* @param isDeprecated isDeprecated or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setIsDeprecated(java.lang.Boolean isDeprecated) {
this.isDeprecated = isDeprecated;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Boolean getIsOutput() {
return isOutput;
}
/**
* @param isOutput isOutput or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setIsOutput(java.lang.Boolean isOutput) {
this.isOutput = isOutput;
return this;
}
/**
* If the data_type is JSON_VALUE, then this will define its schema.
* @return value or {@code null} for none
*/
public java.lang.String getJsonSchema() {
return jsonSchema;
}
/**
* If the data_type is JSON_VALUE, then this will define its schema.
* @param jsonSchema jsonSchema or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setJsonSchema(java.lang.String jsonSchema) {
this.jsonSchema = jsonSchema;
return this;
}
/**
* Key is used to retrieve the corresponding parameter value. This should be unique for a given
* task. These parameters must be predefined in the workflow definition.
* @return value or {@code null} for none
*/
public java.lang.String getKey() {
return key;
}
/**
* Key is used to retrieve the corresponding parameter value. This should be unique for a given
* task. These parameters must be predefined in the workflow definition.
* @param key key or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setKey(java.lang.String key) {
this.key = key;
return this;
}
/**
* Populated if this represents a proto or proto array.
* @return value or {@code null} for none
*/
public EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition getProtoDef() {
return protoDef;
}
/**
* Populated if this represents a proto or proto array.
* @param protoDef protoDef or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setProtoDef(EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition protoDef) {
this.protoDef = protoDef;
return this;
}
/**
* If set, the user must provide an input value for this parameter.
* @return value or {@code null} for none
*/
public java.lang.Boolean getRequired() {
return required;
}
/**
* If set, the user must provide an input value for this parameter.
* @param required required or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setRequired(java.lang.Boolean required) {
this.required = required;
return this;
}
/**
* Rule used to validate inputs (individual values and collection elements) for this parameter.
* @return value or {@code null} for none
*/
public EnterpriseCrmEventbusProtoParamSpecEntryValidationRule getValidationRule() {
return validationRule;
}
/**
* Rule used to validate inputs (individual values and collection elements) for this parameter.
* @param validationRule validationRule or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry setValidationRule(EnterpriseCrmEventbusProtoParamSpecEntryValidationRule validationRule) {
this.validationRule = validationRule;
return this;
}
@Override
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry set(String fieldName, Object value) {
return (EnterpriseCrmFrontendsEventbusProtoParamSpecEntry) super.set(fieldName, value);
}
@Override
public EnterpriseCrmFrontendsEventbusProtoParamSpecEntry clone() {
return (EnterpriseCrmFrontendsEventbusProtoParamSpecEntry) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy