Interface ResourceOptionsOrBuilder (1.22.0)

public interface ResourceOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnectVersion()

public abstract String getConnectVersion()

Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.

string connect_version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The connectVersion.

getConnectVersionBytes()

public abstract ByteString getConnectVersionBytes()

Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.

string connect_version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for connectVersion.

getK8SVersion()

public abstract String getK8SVersion()

Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, apiextensions/v1beta1 orapiextensions/v1.

string k8s_version = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The k8sVersion.

getK8SVersionBytes()

public abstract ByteString getK8SVersionBytes()

Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, apiextensions/v1beta1 orapiextensions/v1.

string k8s_version = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for k8sVersion.

getV1Beta1Crd()

public abstract boolean getV1Beta1Crd()

Optional. Use apiextensions/v1beta1 instead of apiextensions/v1 for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.

bool v1beta1_crd = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The v1beta1Crd.