Package com.google.cloud.gkehub.v1beta1
Interface ResourceManifestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceManifest,ResourceManifest.Builder
@Generated
public interface ResourceManifestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the resource provided in the manifest is `cluster_scoped`.YAML manifest of the resource.com.google.protobuf.ByteStringYAML manifest of the resource.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
-
getManifest
String getManifest()YAML manifest of the resource.
string manifest = 1;- Returns:
- The manifest.
-
getManifestBytes
com.google.protobuf.ByteString getManifestBytes()YAML manifest of the resource.
string manifest = 1;- Returns:
- The bytes for manifest.
-
getClusterScoped
boolean getClusterScoped()Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.
bool cluster_scoped = 2;- Returns:
- The clusterScoped.
-