Class KubernetesResource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<KubernetesResource.Builder>
com.google.cloud.gkehub.v1.KubernetesResource.Builder
All Implemented Interfaces:
KubernetesResourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
KubernetesResource

public static final class KubernetesResource.Builder extends com.google.protobuf.GeneratedMessage.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.v1.KubernetesResource
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<KubernetesResource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<KubernetesResource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<KubernetesResource.Builder>
    • getDefaultInstanceForType

      public KubernetesResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public KubernetesResource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public KubernetesResource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public KubernetesResource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KubernetesResource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<KubernetesResource.Builder>
    • mergeFrom

      public KubernetesResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KubernetesResource.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getMembershipCrManifest in interface KubernetesResourceOrBuilder
      Returns:
      The membershipCrManifest.
    • getMembershipCrManifestBytes

      public com.google.protobuf.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];
      Specified by:
      getMembershipCrManifestBytes in interface KubernetesResourceOrBuilder
      Returns:
      The bytes for membershipCrManifest.
    • setMembershipCrManifest

      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];
      Parameters:
      value - The membershipCrManifest to set.
      Returns:
      This builder for chaining.
    • 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];
      Returns:
      This builder for chaining.
    • setMembershipCrManifestBytes

      public KubernetesResource.Builder setMembershipCrManifestBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for membershipCrManifest to set.
      Returns:
      This builder for chaining.
    • 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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMembershipResourcesList in interface KubernetesResourceOrBuilder
    • 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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMembershipResourcesCount in interface KubernetesResourceOrBuilder
    • getMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMembershipResources in interface KubernetesResourceOrBuilder
    • setMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeMembershipResources

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMembershipResourcesBuilder

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMembershipResourcesOrBuilder

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMembershipResourcesOrBuilder in interface KubernetesResourceOrBuilder
    • 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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMembershipResourcesOrBuilderList in interface KubernetesResourceOrBuilder
    • 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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMembershipResourcesBuilder

      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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.ResourceManifest membership_resources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectResourcesList in interface KubernetesResourceOrBuilder
    • 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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectResourcesCount in interface KubernetesResourceOrBuilder
    • getConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectResources in interface KubernetesResourceOrBuilder
    • setConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeConnectResources

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConnectResourcesBuilder

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConnectResourcesOrBuilder

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectResourcesOrBuilder in interface KubernetesResourceOrBuilder
    • 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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectResourcesOrBuilderList in interface KubernetesResourceOrBuilder
    • 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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addConnectResourcesBuilder

      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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.ResourceManifest connect_resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasResourceOptions

      public boolean hasResourceOptions()
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasResourceOptions in interface KubernetesResourceOrBuilder
      Returns:
      Whether the resourceOptions field is set.
    • getResourceOptions

      public ResourceOptions getResourceOptions()
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourceOptions in interface KubernetesResourceOrBuilder
      Returns:
      The resourceOptions.
    • setResourceOptions

      public KubernetesResource.Builder setResourceOptions(ResourceOptions value)
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setResourceOptions

      public KubernetesResource.Builder setResourceOptions(ResourceOptions.Builder builderForValue)
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeResourceOptions

      public KubernetesResource.Builder mergeResourceOptions(ResourceOptions value)
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearResourceOptions

      public KubernetesResource.Builder clearResourceOptions()
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceOptionsBuilder

      public ResourceOptions.Builder getResourceOptionsBuilder()
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceOptionsOrBuilder

      public ResourceOptionsOrBuilder getResourceOptionsOrBuilder()
       Optional. Options for Kubernetes resource generation.
       
      .google.cloud.gkehub.v1.ResourceOptions resource_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourceOptionsOrBuilder in interface KubernetesResourceOrBuilder