
com.google.api.services.blockchainnodeengine.v1.model.EthereumDetails 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.blockchainnodeengine.v1.model;
/**
* Ethereum-specific blockchain node details.
*
* 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 Blockchain Node Engine 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 EthereumDetails extends com.google.api.client.json.GenericJson {
/**
* Output only. Ethereum-specific endpoint information.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EthereumEndpoints additionalEndpoints;
/**
* Immutable. Enables JSON-RPC access to functions in the `admin` namespace. Defaults to `false`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean apiEnableAdmin;
/**
* Immutable. Enables JSON-RPC access to functions in the `debug` namespace. Defaults to `false`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean apiEnableDebug;
/**
* Immutable. The consensus client.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String consensusClient;
/**
* Immutable. The execution client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String executionClient;
/**
* Details for the Geth execution client.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GethDetails gethDetails;
/**
* Immutable. The Ethereum environment being accessed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String network;
/**
* Immutable. The type of Ethereum node.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nodeType;
/**
* Configuration for validator-related parameters on the beacon client, and for any GCP-managed
* validator client.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ValidatorConfig validatorConfig;
/**
* Output only. Ethereum-specific endpoint information.
* @return value or {@code null} for none
*/
public EthereumEndpoints getAdditionalEndpoints() {
return additionalEndpoints;
}
/**
* Output only. Ethereum-specific endpoint information.
* @param additionalEndpoints additionalEndpoints or {@code null} for none
*/
public EthereumDetails setAdditionalEndpoints(EthereumEndpoints additionalEndpoints) {
this.additionalEndpoints = additionalEndpoints;
return this;
}
/**
* Immutable. Enables JSON-RPC access to functions in the `admin` namespace. Defaults to `false`.
* @return value or {@code null} for none
*/
public java.lang.Boolean getApiEnableAdmin() {
return apiEnableAdmin;
}
/**
* Immutable. Enables JSON-RPC access to functions in the `admin` namespace. Defaults to `false`.
* @param apiEnableAdmin apiEnableAdmin or {@code null} for none
*/
public EthereumDetails setApiEnableAdmin(java.lang.Boolean apiEnableAdmin) {
this.apiEnableAdmin = apiEnableAdmin;
return this;
}
/**
* Immutable. Enables JSON-RPC access to functions in the `debug` namespace. Defaults to `false`.
* @return value or {@code null} for none
*/
public java.lang.Boolean getApiEnableDebug() {
return apiEnableDebug;
}
/**
* Immutable. Enables JSON-RPC access to functions in the `debug` namespace. Defaults to `false`.
* @param apiEnableDebug apiEnableDebug or {@code null} for none
*/
public EthereumDetails setApiEnableDebug(java.lang.Boolean apiEnableDebug) {
this.apiEnableDebug = apiEnableDebug;
return this;
}
/**
* Immutable. The consensus client.
* @return value or {@code null} for none
*/
public java.lang.String getConsensusClient() {
return consensusClient;
}
/**
* Immutable. The consensus client.
* @param consensusClient consensusClient or {@code null} for none
*/
public EthereumDetails setConsensusClient(java.lang.String consensusClient) {
this.consensusClient = consensusClient;
return this;
}
/**
* Immutable. The execution client
* @return value or {@code null} for none
*/
public java.lang.String getExecutionClient() {
return executionClient;
}
/**
* Immutable. The execution client
* @param executionClient executionClient or {@code null} for none
*/
public EthereumDetails setExecutionClient(java.lang.String executionClient) {
this.executionClient = executionClient;
return this;
}
/**
* Details for the Geth execution client.
* @return value or {@code null} for none
*/
public GethDetails getGethDetails() {
return gethDetails;
}
/**
* Details for the Geth execution client.
* @param gethDetails gethDetails or {@code null} for none
*/
public EthereumDetails setGethDetails(GethDetails gethDetails) {
this.gethDetails = gethDetails;
return this;
}
/**
* Immutable. The Ethereum environment being accessed.
* @return value or {@code null} for none
*/
public java.lang.String getNetwork() {
return network;
}
/**
* Immutable. The Ethereum environment being accessed.
* @param network network or {@code null} for none
*/
public EthereumDetails setNetwork(java.lang.String network) {
this.network = network;
return this;
}
/**
* Immutable. The type of Ethereum node.
* @return value or {@code null} for none
*/
public java.lang.String getNodeType() {
return nodeType;
}
/**
* Immutable. The type of Ethereum node.
* @param nodeType nodeType or {@code null} for none
*/
public EthereumDetails setNodeType(java.lang.String nodeType) {
this.nodeType = nodeType;
return this;
}
/**
* Configuration for validator-related parameters on the beacon client, and for any GCP-managed
* validator client.
* @return value or {@code null} for none
*/
public ValidatorConfig getValidatorConfig() {
return validatorConfig;
}
/**
* Configuration for validator-related parameters on the beacon client, and for any GCP-managed
* validator client.
* @param validatorConfig validatorConfig or {@code null} for none
*/
public EthereumDetails setValidatorConfig(ValidatorConfig validatorConfig) {
this.validatorConfig = validatorConfig;
return this;
}
@Override
public EthereumDetails set(String fieldName, Object value) {
return (EthereumDetails) super.set(fieldName, value);
}
@Override
public EthereumDetails clone() {
return (EthereumDetails) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy