Interface KubernetesResourceOrBuilder (0.15.0)

public interface KubernetesResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnectResources(int index)

public abstract 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.events.cloud.gkehub.v1.ResourceManifest connect_resources = 3;

Parameter
Name Description
index int
Returns
Type Description
ResourceManifest

getConnectResourcesCount()

public abstract 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.events.cloud.gkehub.v1.ResourceManifest connect_resources = 3;

Returns
Type Description
int

getConnectResourcesList()

public abstract 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.events.cloud.gkehub.v1.ResourceManifest connect_resources = 3;

Returns
Type Description
List<ResourceManifest>

getConnectResourcesOrBuilder(int index)

public abstract 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.events.cloud.gkehub.v1.ResourceManifest connect_resources = 3;

Parameter
Name Description
index int
Returns
Type Description
ResourceManifestOrBuilder

getConnectResourcesOrBuilderList()

public abstract 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.events.cloud.gkehub.v1.ResourceManifest connect_resources = 3;

Returns
Type Description
List<? extends com.google.events.cloud.gkehub.v1.ResourceManifestOrBuilder>

getMembershipResources(int index)

public abstract 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.events.cloud.gkehub.v1.ResourceManifest membership_resources = 2;

Parameter
Name Description
index int
Returns
Type Description
ResourceManifest

getMembershipResourcesCount()

public abstract 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.events.cloud.gkehub.v1.ResourceManifest membership_resources = 2;

Returns
Type Description
int

getMembershipResourcesList()

public abstract 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.events.cloud.gkehub.v1.ResourceManifest membership_resources = 2;

Returns
Type Description
List<ResourceManifest>

getMembershipResourcesOrBuilder(int index)

public abstract 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.events.cloud.gkehub.v1.ResourceManifest membership_resources = 2;

Parameter
Name Description
index int
Returns
Type Description
ResourceManifestOrBuilder

getMembershipResourcesOrBuilderList()

public abstract 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.events.cloud.gkehub.v1.ResourceManifest membership_resources = 2;

Returns
Type Description
List<? extends com.google.events.cloud.gkehub.v1.ResourceManifestOrBuilder>

getResourceOptions()

public abstract ResourceOptions getResourceOptions()

Optional. Options for Kubernetes resource generation.

.google.events.cloud.gkehub.v1.ResourceOptions resource_options = 4;

Returns
Type Description
ResourceOptions

The resourceOptions.

getResourceOptionsOrBuilder()

public abstract ResourceOptionsOrBuilder getResourceOptionsOrBuilder()

Optional. Options for Kubernetes resource generation.

.google.events.cloud.gkehub.v1.ResourceOptions resource_options = 4;

Returns
Type Description
ResourceOptionsOrBuilder

hasResourceOptions()

public abstract boolean hasResourceOptions()

Optional. Options for Kubernetes resource generation.

.google.events.cloud.gkehub.v1.ResourceOptions resource_options = 4;

Returns
Type Description
boolean

Whether the resourceOptions field is set.