Class GenerateConnectManifestResponse.Builder (1.22.0)

public static final class GenerateConnectManifestResponse.Builder extends GeneratedMessageV3.Builder<GenerateConnectManifestResponse.Builder> implements GenerateConnectManifestResponseOrBuilder

GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.

Protobuf type google.cloud.gkehub.v1alpha2.GenerateConnectManifestResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllManifest(Iterable<? extends ConnectAgentResource> values)

public GenerateConnectManifestResponse.Builder addAllManifest(Iterable<? extends ConnectAgentResource> values)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.gkehub.v1alpha2.ConnectAgentResource>
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

addManifest(ConnectAgentResource value)

public GenerateConnectManifestResponse.Builder addManifest(ConnectAgentResource value)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
valueConnectAgentResource
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

addManifest(ConnectAgentResource.Builder builderForValue)

public GenerateConnectManifestResponse.Builder addManifest(ConnectAgentResource.Builder builderForValue)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
builderForValueConnectAgentResource.Builder
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

addManifest(int index, ConnectAgentResource value)

public GenerateConnectManifestResponse.Builder addManifest(int index, ConnectAgentResource value)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameters
NameDescription
indexint
valueConnectAgentResource
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

addManifest(int index, ConnectAgentResource.Builder builderForValue)

public GenerateConnectManifestResponse.Builder addManifest(int index, ConnectAgentResource.Builder builderForValue)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameters
NameDescription
indexint
builderForValueConnectAgentResource.Builder
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

addManifestBuilder()

public ConnectAgentResource.Builder addManifestBuilder()

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Returns
TypeDescription
ConnectAgentResource.Builder

addManifestBuilder(int index)

public ConnectAgentResource.Builder addManifestBuilder(int index)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConnectAgentResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateConnectManifestResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

build()

public GenerateConnectManifestResponse build()
Returns
TypeDescription
GenerateConnectManifestResponse

buildPartial()

public GenerateConnectManifestResponse buildPartial()
Returns
TypeDescription
GenerateConnectManifestResponse

clear()

public GenerateConnectManifestResponse.Builder clear()
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateConnectManifestResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

clearManifest()

public GenerateConnectManifestResponse.Builder clearManifest()

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Returns
TypeDescription
GenerateConnectManifestResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateConnectManifestResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

clone()

public GenerateConnectManifestResponse.Builder clone()
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateConnectManifestResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateConnectManifestResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getManifest(int index)

public ConnectAgentResource getManifest(int index)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConnectAgentResource

getManifestBuilder(int index)

public ConnectAgentResource.Builder getManifestBuilder(int index)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConnectAgentResource.Builder

getManifestBuilderList()

public List<ConnectAgentResource.Builder> getManifestBuilderList()

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Returns
TypeDescription
List<Builder>

getManifestCount()

public int getManifestCount()

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Returns
TypeDescription
int

getManifestList()

public List<ConnectAgentResource> getManifestList()

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Returns
TypeDescription
List<ConnectAgentResource>

getManifestOrBuilder(int index)

public ConnectAgentResourceOrBuilder getManifestOrBuilder(int index)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConnectAgentResourceOrBuilder

getManifestOrBuilderList()

public List<? extends ConnectAgentResourceOrBuilder> getManifestOrBuilderList()

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkehub.v1alpha2.ConnectAgentResourceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateConnectManifestResponse other)

public GenerateConnectManifestResponse.Builder mergeFrom(GenerateConnectManifestResponse other)
Parameter
NameDescription
otherGenerateConnectManifestResponse
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateConnectManifestResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenerateConnectManifestResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateConnectManifestResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

removeManifest(int index)

public GenerateConnectManifestResponse.Builder removeManifest(int index)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateConnectManifestResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

setManifest(int index, ConnectAgentResource value)

public GenerateConnectManifestResponse.Builder setManifest(int index, ConnectAgentResource value)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameters
NameDescription
indexint
valueConnectAgentResource
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

setManifest(int index, ConnectAgentResource.Builder builderForValue)

public GenerateConnectManifestResponse.Builder setManifest(int index, ConnectAgentResource.Builder builderForValue)

The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.

repeated .google.cloud.gkehub.v1alpha2.ConnectAgentResource manifest = 1;

Parameters
NameDescription
indexint
builderForValueConnectAgentResource.Builder
Returns
TypeDescription
GenerateConnectManifestResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateConnectManifestResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateConnectManifestResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateConnectManifestResponse.Builder
Overrides