Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
*
* string environment = 2;
* @return The bytes for environment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnvironmentBytes() {
java.lang.Object ref = environment_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
environment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCTION_FIELD_NUMBER = 3;
private boolean production_ = false;
/**
*
* * Flag indicating whether the current environment is a production environment or not. *
*
*
* bool production = 3;
* @return The production.
*/
@java.lang.Override
public boolean getProduction() {
return production_;
}
public static final int DEPLOYMENTINFO_FIELD_NUMBER = 4;
private static final class DeploymentInfoDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
org.finos.tracdap.api.Metadata.internal_static_tracdap_api_PlatformInfoResponse_DeploymentInfoEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> deploymentInfo_;
private com.google.protobuf.MapField
internalGetDeploymentInfo() {
if (deploymentInfo_ == null) {
return com.google.protobuf.MapField.emptyMapField(
DeploymentInfoDefaultEntryHolder.defaultEntry);
}
return deploymentInfo_;
}
public int getDeploymentInfoCount() {
return internalGetDeploymentInfo().getMap().size();
}
/**
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
*
* map<string, string> deploymentInfo = 4;
*/
@java.lang.Override
public boolean containsDeploymentInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetDeploymentInfo().getMap().containsKey(key);
}
/**
* Use {@link #getDeploymentInfoMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getDeploymentInfo() {
return getDeploymentInfoMap();
}
/**
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
*
* string environment = 2;
* @param value The bytes for environment to set.
* @return This builder for chaining.
*/
public Builder setEnvironmentBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
environment_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private boolean production_ ;
/**
*
* * Flag indicating whether the current environment is a production environment or not. *
*
*
* bool production = 3;
* @return The production.
*/
@java.lang.Override
public boolean getProduction() {
return production_;
}
/**
*
* * Flag indicating whether the current environment is a production environment or not. *
*
*
* bool production = 3;
* @param value The production to set.
* @return This builder for chaining.
*/
public Builder setProduction(boolean value) {
production_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* * Flag indicating whether the current environment is a production environment or not. *
*
*
* bool production = 3;
* @return This builder for chaining.
*/
public Builder clearProduction() {
bitField0_ = (bitField0_ & ~0x00000004);
production_ = false;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> deploymentInfo_;
private com.google.protobuf.MapField
internalGetDeploymentInfo() {
if (deploymentInfo_ == null) {
return com.google.protobuf.MapField.emptyMapField(
DeploymentInfoDefaultEntryHolder.defaultEntry);
}
return deploymentInfo_;
}
private com.google.protobuf.MapField
internalGetMutableDeploymentInfo() {
if (deploymentInfo_ == null) {
deploymentInfo_ = com.google.protobuf.MapField.newMapField(
DeploymentInfoDefaultEntryHolder.defaultEntry);
}
if (!deploymentInfo_.isMutable()) {
deploymentInfo_ = deploymentInfo_.copy();
}
bitField0_ |= 0x00000008;
onChanged();
return deploymentInfo_;
}
public int getDeploymentInfoCount() {
return internalGetDeploymentInfo().getMap().size();
}
/**
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
*
* map<string, string> deploymentInfo = 4;
*/
@java.lang.Override
public boolean containsDeploymentInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetDeploymentInfo().getMap().containsKey(key);
}
/**
* Use {@link #getDeploymentInfoMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getDeploymentInfo() {
return getDeploymentInfoMap();
}
/**
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
*
* map<string, string> deploymentInfo = 4;
*/
@java.lang.Override
public java.lang.String getDeploymentInfoOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetDeploymentInfo().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearDeploymentInfo() {
bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableDeploymentInfo().getMutableMap()
.clear();
return this;
}
/**
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
*
* map<string, string> deploymentInfo = 4;
*/
public Builder removeDeploymentInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableDeploymentInfo().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableDeploymentInfo() {
bitField0_ |= 0x00000008;
return internalGetMutableDeploymentInfo().getMutableMap();
}
/**
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*
*
* map<string, string> deploymentInfo = 4;
*/
public Builder putDeploymentInfo(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableDeploymentInfo().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000008;
return this;
}
/**
*
* *
* Additional information about the current TRAC environment.
*
* The particular information relevant to a deployment of TRAC can vary between organizations.
* Useful information might include: region, business division, brand etc.
* This information is optional and may not be present for smaller deployments.
*