Package com.google.cloud.gkehub.v1
Interface ResourceOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceOptions,ResourceOptions.Builder
@Generated
public interface ResourceOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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 and minor 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 and minor 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.
-
getK8SGitVersion
String getK8SGitVersion()Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.
string k8s_git_version = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The k8sGitVersion.
-
getK8SGitVersionBytes
com.google.protobuf.ByteString getK8SGitVersionBytes()Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.
string k8s_git_version = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for k8sGitVersion.
-