com.google.api.services.integrations.v1alpha.model.EnterpriseCrmEventbusProtoExternalTraffic 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;
/**
* Represents external traffic type and id.
*
* 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 EnterpriseCrmEventbusProtoExternalTraffic extends com.google.api.client.json.GenericJson {
/**
* User’s GCP project id the traffic is referring to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String gcpProjectId;
/**
* User’s GCP project number the traffic is referring to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String gcpProjectNumber;
/**
* Location for the user's request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String location;
/**
* LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto:product, //depot/go
* ogle3/java/com/google/enterprise/crm/integrationplatform/api/utils/ConverterUtils.java:source_t
* o_product)
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String source;
/**
* User’s GCP project id the traffic is referring to.
* @return value or {@code null} for none
*/
public java.lang.String getGcpProjectId() {
return gcpProjectId;
}
/**
* User’s GCP project id the traffic is referring to.
* @param gcpProjectId gcpProjectId or {@code null} for none
*/
public EnterpriseCrmEventbusProtoExternalTraffic setGcpProjectId(java.lang.String gcpProjectId) {
this.gcpProjectId = gcpProjectId;
return this;
}
/**
* User’s GCP project number the traffic is referring to.
* @return value or {@code null} for none
*/
public java.lang.String getGcpProjectNumber() {
return gcpProjectNumber;
}
/**
* User’s GCP project number the traffic is referring to.
* @param gcpProjectNumber gcpProjectNumber or {@code null} for none
*/
public EnterpriseCrmEventbusProtoExternalTraffic setGcpProjectNumber(java.lang.String gcpProjectNumber) {
this.gcpProjectNumber = gcpProjectNumber;
return this;
}
/**
* Location for the user's request.
* @return value or {@code null} for none
*/
public java.lang.String getLocation() {
return location;
}
/**
* Location for the user's request.
* @param location location or {@code null} for none
*/
public EnterpriseCrmEventbusProtoExternalTraffic setLocation(java.lang.String location) {
this.location = location;
return this;
}
/**
* LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto:product, //depot/go
* ogle3/java/com/google/enterprise/crm/integrationplatform/api/utils/ConverterUtils.java:source_t
* o_product)
* @return value or {@code null} for none
*/
public java.lang.String getSource() {
return source;
}
/**
* LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto:product, //depot/go
* ogle3/java/com/google/enterprise/crm/integrationplatform/api/utils/ConverterUtils.java:source_t
* o_product)
* @param source source or {@code null} for none
*/
public EnterpriseCrmEventbusProtoExternalTraffic setSource(java.lang.String source) {
this.source = source;
return this;
}
@Override
public EnterpriseCrmEventbusProtoExternalTraffic set(String fieldName, Object value) {
return (EnterpriseCrmEventbusProtoExternalTraffic) super.set(fieldName, value);
}
@Override
public EnterpriseCrmEventbusProtoExternalTraffic clone() {
return (EnterpriseCrmEventbusProtoExternalTraffic) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy