- 1.54.0 (latest)
- 1.53.0
- 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 GenerateConnectManifestRequest.Builder extends GeneratedMessageV3.Builder<GenerateConnectManifestRequest.Builder> implements GenerateConnectManifestRequestOrBuilder
Request message for GkeHubMembershipService.GenerateConnectManifest
method.
Protobuf type google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateConnectManifestRequest.BuilderImplements
GenerateConnectManifestRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateConnectManifestRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
build()
public GenerateConnectManifestRequest build()
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest |
buildPartial()
public GenerateConnectManifestRequest buildPartial()
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest |
clear()
public GenerateConnectManifestRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
clearConnectAgent()
public GenerateConnectManifestRequest.Builder clearConnectAgent()
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateConnectManifestRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
clearImagePullSecretContent()
public GenerateConnectManifestRequest.Builder clearImagePullSecretContent()
Optional. The image pull secret content for the registry, if not public.
bytes image_pull_secret_content = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
clearIsUpgrade()
public GenerateConnectManifestRequest.Builder clearIsUpgrade()
Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.
bool is_upgrade = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
clearName()
public GenerateConnectManifestRequest.Builder clearName()
Required. The Membership resource name the Agent will associate with, in
the format projects/*/locations/*/memberships/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateConnectManifestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
clearRegistry()
public GenerateConnectManifestRequest.Builder clearRegistry()
Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.
string registry = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
clearVersion()
public GenerateConnectManifestRequest.Builder clearVersion()
Optional. The Connect agent version to use. Defaults to the most current version.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
clone()
public GenerateConnectManifestRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
getConnectAgent()
public ConnectAgent getConnectAgent()
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConnectAgent | The connectAgent. |
getConnectAgentBuilder()
public ConnectAgent.Builder getConnectAgentBuilder()
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConnectAgent.Builder |
getConnectAgentOrBuilder()
public ConnectAgentOrBuilder getConnectAgentOrBuilder()
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConnectAgentOrBuilder |
getDefaultInstanceForType()
public GenerateConnectManifestRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getImagePullSecretContent()
public ByteString getImagePullSecretContent()
Optional. The image pull secret content for the registry, if not public.
bytes image_pull_secret_content = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The imagePullSecretContent. |
getIsUpgrade()
public boolean getIsUpgrade()
Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.
bool is_upgrade = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | The isUpgrade. |
getName()
public String getName()
Required. The Membership resource name the Agent will associate with, in
the format projects/*/locations/*/memberships/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The Membership resource name the Agent will associate with, in
the format projects/*/locations/*/memberships/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getRegistry()
public String getRegistry()
Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.
string registry = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The registry. |
getRegistryBytes()
public ByteString getRegistryBytes()
Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.
string registry = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for registry. |
getVersion()
public String getVersion()
Optional. The Connect agent version to use. Defaults to the most current version.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
Optional. The Connect agent version to use. Defaults to the most current version.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for version. |
hasConnectAgent()
public boolean hasConnectAgent()
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the connectAgent field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConnectAgent(ConnectAgent value)
public GenerateConnectManifestRequest.Builder mergeConnectAgent(ConnectAgent value)
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ConnectAgent |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
mergeFrom(GenerateConnectManifestRequest other)
public GenerateConnectManifestRequest.Builder mergeFrom(GenerateConnectManifestRequest other)
Parameter | |
---|---|
Name | Description |
other | GenerateConnectManifestRequest |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateConnectManifestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateConnectManifestRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateConnectManifestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
setConnectAgent(ConnectAgent value)
public GenerateConnectManifestRequest.Builder setConnectAgent(ConnectAgent value)
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ConnectAgent |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
setConnectAgent(ConnectAgent.Builder builderForValue)
public GenerateConnectManifestRequest.Builder setConnectAgent(ConnectAgent.Builder builderForValue)
Optional. The connect agent to generate manifest for.
.google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | ConnectAgent.Builder |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateConnectManifestRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
setImagePullSecretContent(ByteString value)
public GenerateConnectManifestRequest.Builder setImagePullSecretContent(ByteString value)
Optional. The image pull secret content for the registry, if not public.
bytes image_pull_secret_content = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The imagePullSecretContent to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
setIsUpgrade(boolean value)
public GenerateConnectManifestRequest.Builder setIsUpgrade(boolean value)
Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.
bool is_upgrade = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | boolean The isUpgrade to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
setName(String value)
public GenerateConnectManifestRequest.Builder setName(String value)
Required. The Membership resource name the Agent will associate with, in
the format projects/*/locations/*/memberships/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GenerateConnectManifestRequest.Builder setNameBytes(ByteString value)
Required. The Membership resource name the Agent will associate with, in
the format projects/*/locations/*/memberships/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
setRegistry(String value)
public GenerateConnectManifestRequest.Builder setRegistry(String value)
Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.
string registry = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The registry to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
setRegistryBytes(ByteString value)
public GenerateConnectManifestRequest.Builder setRegistryBytes(ByteString value)
Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.
string registry = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for registry to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateConnectManifestRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateConnectManifestRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder |
setVersion(String value)
public GenerateConnectManifestRequest.Builder setVersion(String value)
Optional. The Connect agent version to use. Defaults to the most current version.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public GenerateConnectManifestRequest.Builder setVersionBytes(ByteString value)
Optional. The Connect agent version to use. Defaults to the most current version.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
GenerateConnectManifestRequest.Builder | This builder for chaining. |