Package com.google.cloud.gkehub.v1beta1
Interface ResourceOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceOptions
,ResourceOptions.Builder
public interface ResourceOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getConnectVersion()
Optional.com.google.protobuf.ByteString
getConnectVersionBytes()
Optional.String
getK8SVersion()
Optional.com.google.protobuf.ByteString
getK8SVersionBytes()
Optional.boolean
getV1Beta1Crd()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConnectVersion
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:
- The connectVersion.
-
getConnectVersionBytes
com.google.protobuf.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:
- The bytes for connectVersion.
-
getV1Beta1Crd
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:
- The v1beta1Crd.
-
getK8SVersion
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` or`apiextensions/v1`.
string k8s_version = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The k8sVersion.
-
getK8SVersionBytes
com.google.protobuf.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` or`apiextensions/v1`.
string k8s_version = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for k8sVersion.
-
-