- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.8
public static final class GenerateCredentialsRequest.Builder extends GeneratedMessageV3.Builder<GenerateCredentialsRequest.Builder> implements GenerateCredentialsRequestOrBuilder
A request for connection information for a particular membership.
Protobuf type google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateCredentialsRequest.BuilderImplements
GenerateCredentialsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateCredentialsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
build()
public GenerateCredentialsRequest build()
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest |
buildPartial()
public GenerateCredentialsRequest buildPartial()
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest |
clear()
public GenerateCredentialsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateCredentialsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
clearForceUseAgent()
public GenerateCredentialsRequest.Builder clearForceUseAgent()
Optional. Whether to force the use of Connect Agent-based transport.
This will return a configuration that uses Connect Agent as the underlying transport mechanism for cluster types that would otherwise have used a different transport. Requires that Connect Agent be installed on the cluster. Setting this field to false is equivalent to not setting it.
bool force_use_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
clearKubernetesNamespace()
public GenerateCredentialsRequest.Builder clearKubernetesNamespace()
Optional. The namespace to use in the kubeconfig context.
If this field is specified, the server will set the namespace
field in
kubeconfig context. If not specified, the namespace
field is omitted.
string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
clearName()
public GenerateCredentialsRequest.Builder clearName()
Required. The Fleet membership resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateCredentialsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
clearOperatingSystem()
public GenerateCredentialsRequest.Builder clearOperatingSystem()
Optional. The operating system where the kubeconfig will be used.
.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
clearVersion()
public GenerateCredentialsRequest.Builder clearVersion()
Optional. The Connect Gateway version to be used in the resulting configuration.
Leave this field blank to let the server choose the version (recommended).
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
clone()
public GenerateCredentialsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
getDefaultInstanceForType()
public GenerateCredentialsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getForceUseAgent()
public boolean getForceUseAgent()
Optional. Whether to force the use of Connect Agent-based transport.
This will return a configuration that uses Connect Agent as the underlying transport mechanism for cluster types that would otherwise have used a different transport. Requires that Connect Agent be installed on the cluster. Setting this field to false is equivalent to not setting it.
bool force_use_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The forceUseAgent. |
getKubernetesNamespace()
public String getKubernetesNamespace()
Optional. The namespace to use in the kubeconfig context.
If this field is specified, the server will set the namespace
field in
kubeconfig context. If not specified, the namespace
field is omitted.
string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The kubernetesNamespace. |
getKubernetesNamespaceBytes()
public ByteString getKubernetesNamespaceBytes()
Optional. The namespace to use in the kubeconfig context.
If this field is specified, the server will set the namespace
field in
kubeconfig context. If not specified, the namespace
field is omitted.
string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kubernetesNamespace. |
getName()
public String getName()
Required. The Fleet membership resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The Fleet membership resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOperatingSystem()
public GenerateCredentialsRequest.OperatingSystem getOperatingSystem()
Optional. The operating system where the kubeconfig will be used.
.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.OperatingSystem |
The operatingSystem. |
getOperatingSystemValue()
public int getOperatingSystemValue()
Optional. The operating system where the kubeconfig will be used.
.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for operatingSystem. |
getVersion()
public String getVersion()
Optional. The Connect Gateway version to be used in the resulting configuration.
Leave this field blank to let the server choose the version (recommended).
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()
Optional. The Connect Gateway version to be used in the resulting configuration.
Leave this field blank to let the server choose the version (recommended).
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GenerateCredentialsRequest other)
public GenerateCredentialsRequest.Builder mergeFrom(GenerateCredentialsRequest other)
Parameter | |
---|---|
Name | Description |
other |
GenerateCredentialsRequest |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateCredentialsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateCredentialsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateCredentialsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateCredentialsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
setForceUseAgent(boolean value)
public GenerateCredentialsRequest.Builder setForceUseAgent(boolean value)
Optional. Whether to force the use of Connect Agent-based transport.
This will return a configuration that uses Connect Agent as the underlying transport mechanism for cluster types that would otherwise have used a different transport. Requires that Connect Agent be installed on the cluster. Setting this field to false is equivalent to not setting it.
bool force_use_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The forceUseAgent to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setKubernetesNamespace(String value)
public GenerateCredentialsRequest.Builder setKubernetesNamespace(String value)
Optional. The namespace to use in the kubeconfig context.
If this field is specified, the server will set the namespace
field in
kubeconfig context. If not specified, the namespace
field is omitted.
string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The kubernetesNamespace to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setKubernetesNamespaceBytes(ByteString value)
public GenerateCredentialsRequest.Builder setKubernetesNamespaceBytes(ByteString value)
Optional. The namespace to use in the kubeconfig context.
If this field is specified, the server will set the namespace
field in
kubeconfig context. If not specified, the namespace
field is omitted.
string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kubernetesNamespace to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setName(String value)
public GenerateCredentialsRequest.Builder setName(String value)
Required. The Fleet membership resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GenerateCredentialsRequest.Builder setNameBytes(ByteString value)
Required. The Fleet membership resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setOperatingSystem(GenerateCredentialsRequest.OperatingSystem value)
public GenerateCredentialsRequest.Builder setOperatingSystem(GenerateCredentialsRequest.OperatingSystem value)
Optional. The operating system where the kubeconfig will be used.
.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
GenerateCredentialsRequest.OperatingSystem The operatingSystem to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setOperatingSystemValue(int value)
public GenerateCredentialsRequest.Builder setOperatingSystemValue(int value)
Optional. The operating system where the kubeconfig will be used.
.google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for operatingSystem to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateCredentialsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateCredentialsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
setVersion(String value)
public GenerateCredentialsRequest.Builder setVersion(String value)
Optional. The Connect Gateway version to be used in the resulting configuration.
Leave this field blank to let the server choose the version (recommended).
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public GenerateCredentialsRequest.Builder setVersionBytes(ByteString value)
Optional. The Connect Gateway version to be used in the resulting configuration.
Leave this field blank to let the server choose the version (recommended).
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsRequest.Builder |
This builder for chaining. |