- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class KubernetesResource.Builder extends GeneratedMessageV3.Builder<KubernetesResource.Builder> implements KubernetesResourceOrBuilder
KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.
Protobuf type google.cloud.gkehub.v1beta1.KubernetesResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KubernetesResource.BuilderImplements
KubernetesResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllConnectResources(Iterable<? extends ResourceManifest> values)
public KubernetesResource.Builder addAllConnectResources(Iterable<? extends ResourceManifest> values)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.gkehub.v1beta1.ResourceManifest> |
Type | Description |
KubernetesResource.Builder |
addAllMembershipResources(Iterable<? extends ResourceManifest> values)
public KubernetesResource.Builder addAllMembershipResources(Iterable<? extends ResourceManifest> values)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.gkehub.v1beta1.ResourceManifest> |
Type | Description |
KubernetesResource.Builder |
addConnectResources(ResourceManifest value)
public KubernetesResource.Builder addConnectResources(ResourceManifest value)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ResourceManifest |
Type | Description |
KubernetesResource.Builder |
addConnectResources(ResourceManifest.Builder builderForValue)
public KubernetesResource.Builder addConnectResources(ResourceManifest.Builder builderForValue)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | ResourceManifest.Builder |
Type | Description |
KubernetesResource.Builder |
addConnectResources(int index, ResourceManifest value)
public KubernetesResource.Builder addConnectResources(int index, ResourceManifest value)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | ResourceManifest |
Type | Description |
KubernetesResource.Builder |
addConnectResources(int index, ResourceManifest.Builder builderForValue)
public KubernetesResource.Builder addConnectResources(int index, ResourceManifest.Builder builderForValue)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | ResourceManifest.Builder |
Type | Description |
KubernetesResource.Builder |
addConnectResourcesBuilder()
public ResourceManifest.Builder addConnectResourcesBuilder()
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ResourceManifest.Builder |
addConnectResourcesBuilder(int index)
public ResourceManifest.Builder addConnectResourcesBuilder(int index)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifest.Builder |
addMembershipResources(ResourceManifest value)
public KubernetesResource.Builder addMembershipResources(ResourceManifest value)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ResourceManifest |
Type | Description |
KubernetesResource.Builder |
addMembershipResources(ResourceManifest.Builder builderForValue)
public KubernetesResource.Builder addMembershipResources(ResourceManifest.Builder builderForValue)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | ResourceManifest.Builder |
Type | Description |
KubernetesResource.Builder |
addMembershipResources(int index, ResourceManifest value)
public KubernetesResource.Builder addMembershipResources(int index, ResourceManifest value)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | ResourceManifest |
Type | Description |
KubernetesResource.Builder |
addMembershipResources(int index, ResourceManifest.Builder builderForValue)
public KubernetesResource.Builder addMembershipResources(int index, ResourceManifest.Builder builderForValue)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | ResourceManifest.Builder |
Type | Description |
KubernetesResource.Builder |
addMembershipResourcesBuilder()
public ResourceManifest.Builder addMembershipResourcesBuilder()
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ResourceManifest.Builder |
addMembershipResourcesBuilder(int index)
public ResourceManifest.Builder addMembershipResourcesBuilder(int index)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KubernetesResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KubernetesResource.Builder |
build()
public KubernetesResource build()
Type | Description |
KubernetesResource |
buildPartial()
public KubernetesResource buildPartial()
Type | Description |
KubernetesResource |
clear()
public KubernetesResource.Builder clear()
Type | Description |
KubernetesResource.Builder |
clearConnectResources()
public KubernetesResource.Builder clearConnectResources()
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
KubernetesResource.Builder |
clearField(Descriptors.FieldDescriptor field)
public KubernetesResource.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
KubernetesResource.Builder |
clearMembershipCrManifest()
public KubernetesResource.Builder clearMembershipCrManifest()
Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.
string membership_cr_manifest = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
KubernetesResource.Builder | This builder for chaining. |
clearMembershipResources()
public KubernetesResource.Builder clearMembershipResources()
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
KubernetesResource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public KubernetesResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
KubernetesResource.Builder |
clearResourceOptions()
public KubernetesResource.Builder clearResourceOptions()
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
KubernetesResource.Builder |
clone()
public KubernetesResource.Builder clone()
Type | Description |
KubernetesResource.Builder |
getConnectResources(int index)
public ResourceManifest getConnectResources(int index)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifest |
getConnectResourcesBuilder(int index)
public ResourceManifest.Builder getConnectResourcesBuilder(int index)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifest.Builder |
getConnectResourcesBuilderList()
public List<ResourceManifest.Builder> getConnectResourcesBuilderList()
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<Builder> |
getConnectResourcesCount()
public int getConnectResourcesCount()
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
getConnectResourcesList()
public List<ResourceManifest> getConnectResourcesList()
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<ResourceManifest> |
getConnectResourcesOrBuilder(int index)
public ResourceManifestOrBuilder getConnectResourcesOrBuilder(int index)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifestOrBuilder |
getConnectResourcesOrBuilderList()
public List<? extends ResourceManifestOrBuilder> getConnectResourcesOrBuilderList()
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.gkehub.v1beta1.ResourceManifestOrBuilder> |
getDefaultInstanceForType()
public KubernetesResource getDefaultInstanceForType()
Type | Description |
KubernetesResource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMembershipCrManifest()
public String getMembershipCrManifest()
Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.
string membership_cr_manifest = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The membershipCrManifest. |
getMembershipCrManifestBytes()
public ByteString getMembershipCrManifestBytes()
Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.
string membership_cr_manifest = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for membershipCrManifest. |
getMembershipResources(int index)
public ResourceManifest getMembershipResources(int index)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifest |
getMembershipResourcesBuilder(int index)
public ResourceManifest.Builder getMembershipResourcesBuilder(int index)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifest.Builder |
getMembershipResourcesBuilderList()
public List<ResourceManifest.Builder> getMembershipResourcesBuilderList()
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<Builder> |
getMembershipResourcesCount()
public int getMembershipResourcesCount()
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
getMembershipResourcesList()
public List<ResourceManifest> getMembershipResourcesList()
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<ResourceManifest> |
getMembershipResourcesOrBuilder(int index)
public ResourceManifestOrBuilder getMembershipResourcesOrBuilder(int index)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceManifestOrBuilder |
getMembershipResourcesOrBuilderList()
public List<? extends ResourceManifestOrBuilder> getMembershipResourcesOrBuilderList()
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.gkehub.v1beta1.ResourceManifestOrBuilder> |
getResourceOptions()
public ResourceOptions getResourceOptions()
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ResourceOptions | The resourceOptions. |
getResourceOptionsBuilder()
public ResourceOptions.Builder getResourceOptionsBuilder()
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ResourceOptions.Builder |
getResourceOptionsOrBuilder()
public ResourceOptionsOrBuilder getResourceOptionsOrBuilder()
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ResourceOptionsOrBuilder |
hasResourceOptions()
public boolean hasResourceOptions()
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the resourceOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(KubernetesResource other)
public KubernetesResource.Builder mergeFrom(KubernetesResource other)
Name | Description |
other | KubernetesResource |
Type | Description |
KubernetesResource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KubernetesResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
KubernetesResource.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public KubernetesResource.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
KubernetesResource.Builder |
mergeResourceOptions(ResourceOptions value)
public KubernetesResource.Builder mergeResourceOptions(ResourceOptions value)
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ResourceOptions |
Type | Description |
KubernetesResource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
KubernetesResource.Builder |
removeConnectResources(int index)
public KubernetesResource.Builder removeConnectResources(int index)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
KubernetesResource.Builder |
removeMembershipResources(int index)
public KubernetesResource.Builder removeMembershipResources(int index)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
KubernetesResource.Builder |
setConnectResources(int index, ResourceManifest value)
public KubernetesResource.Builder setConnectResources(int index, ResourceManifest value)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | ResourceManifest |
Type | Description |
KubernetesResource.Builder |
setConnectResources(int index, ResourceManifest.Builder builderForValue)
public KubernetesResource.Builder setConnectResources(int index, ResourceManifest.Builder builderForValue)
Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | ResourceManifest.Builder |
Type | Description |
KubernetesResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public KubernetesResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KubernetesResource.Builder |
setMembershipCrManifest(String value)
public KubernetesResource.Builder setMembershipCrManifest(String value)
Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.
string membership_cr_manifest = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | String The membershipCrManifest to set. |
Type | Description |
KubernetesResource.Builder | This builder for chaining. |
setMembershipCrManifestBytes(ByteString value)
public KubernetesResource.Builder setMembershipCrManifestBytes(ByteString value)
Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.
string membership_cr_manifest = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | ByteString The bytes for membershipCrManifest to set. |
Type | Description |
KubernetesResource.Builder | This builder for chaining. |
setMembershipResources(int index, ResourceManifest value)
public KubernetesResource.Builder setMembershipResources(int index, ResourceManifest value)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | ResourceManifest |
Type | Description |
KubernetesResource.Builder |
setMembershipResources(int index, ResourceManifest.Builder builderForValue)
public KubernetesResource.Builder setMembershipResources(int index, ResourceManifest.Builder builderForValue)
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
repeated .google.cloud.gkehub.v1beta1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | ResourceManifest.Builder |
Type | Description |
KubernetesResource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KubernetesResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
KubernetesResource.Builder |
setResourceOptions(ResourceOptions value)
public KubernetesResource.Builder setResourceOptions(ResourceOptions value)
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ResourceOptions |
Type | Description |
KubernetesResource.Builder |
setResourceOptions(ResourceOptions.Builder builderForValue)
public KubernetesResource.Builder setResourceOptions(ResourceOptions.Builder builderForValue)
Optional. Options for Kubernetes resource generation.
.google.cloud.gkehub.v1beta1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | ResourceOptions.Builder |
Type | Description |
KubernetesResource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
KubernetesResource.Builder |