Class GenerateConnectManifestResponse.Builder (1.42.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.v1.GenerateConnectManifestResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkehub.v1.ConnectAgentResource>
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
value ConnectAgentResource
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
builderForValue ConnectAgentResource.Builder
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameters
Name Description
index int
value ConnectAgentResource
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameters
Name Description
index int
builderForValue ConnectAgentResource.Builder
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectAgentResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateConnectManifestResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides

build()

public GenerateConnectManifestResponse build()
Returns
Type Description
GenerateConnectManifestResponse

buildPartial()

public GenerateConnectManifestResponse buildPartial()
Returns
Type Description
GenerateConnectManifestResponse

clear()

public GenerateConnectManifestResponse.Builder clear()
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateConnectManifestResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Returns
Type Description
GenerateConnectManifestResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateConnectManifestResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides

clone()

public GenerateConnectManifestResponse.Builder clone()
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateConnectManifestResponse getDefaultInstanceForType()
Returns
Type Description
GenerateConnectManifestResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateConnectManifestResponse other)

public GenerateConnectManifestResponse.Builder mergeFrom(GenerateConnectManifestResponse other)
Parameter
Name Description
other GenerateConnectManifestResponse
Returns
Type Description
GenerateConnectManifestResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateConnectManifestResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateConnectManifestResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateConnectManifestResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerateConnectManifestResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateConnectManifestResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameters
Name Description
index int
value ConnectAgentResource
Returns
Type Description
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.v1.ConnectAgentResource manifest = 1;

Parameters
Name Description
index int
builderForValue ConnectAgentResource.Builder
Returns
Type Description
GenerateConnectManifestResponse.Builder

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

public GenerateConnectManifestResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateConnectManifestResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateConnectManifestResponse.Builder
Overrides