Send feedback
Class GenerateCredentialsResponse.Builder (0.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.55.0 keyboard_arrow_down
public static final class GenerateCredentialsResponse . Builder extends GeneratedMessageV3 . Builder<GenerateCredentialsResponse . Builder > implements GenerateCredentialsResponseOrBuilder
Connection information for a particular membership.
Protobuf type google.cloud.gkeconnect.gateway.v1beta1.GenerateCredentialsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateCredentialsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GenerateCredentialsResponse build ()
buildPartial()
public GenerateCredentialsResponse buildPartial ()
clear()
public GenerateCredentialsResponse . Builder clear ()
Overrides
clearEndpoint()
public GenerateCredentialsResponse . Builder clearEndpoint ()
The generated URI of the cluster as accessed through the Connect Gateway
API.
string endpoint = 2;
clearField(Descriptors.FieldDescriptor field)
public GenerateCredentialsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearKubeconfig()
public GenerateCredentialsResponse . Builder clearKubeconfig ()
A full YAML kubeconfig in serialized format.
bytes kubeconfig = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateCredentialsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public GenerateCredentialsResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public GenerateCredentialsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getEndpoint()
public String getEndpoint ()
The generated URI of the cluster as accessed through the Connect Gateway
API.
string endpoint = 2;
Returns
Type
Description
String
The endpoint.
getEndpointBytes()
public ByteString getEndpointBytes ()
The generated URI of the cluster as accessed through the Connect Gateway
API.
string endpoint = 2;
Returns
Type
Description
ByteString
The bytes for endpoint.
getKubeconfig()
public ByteString getKubeconfig ()
A full YAML kubeconfig in serialized format.
bytes kubeconfig = 1;
Returns
Type
Description
ByteString
The kubeconfig.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GenerateCredentialsResponse other)
public GenerateCredentialsResponse . Builder mergeFrom ( GenerateCredentialsResponse other )
public GenerateCredentialsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GenerateCredentialsResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateCredentialsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setEndpoint(String value)
public GenerateCredentialsResponse . Builder setEndpoint ( String value )
The generated URI of the cluster as accessed through the Connect Gateway
API.
string endpoint = 2;
Parameter
Name
Description
value
String
The endpoint to set.
setEndpointBytes(ByteString value)
public GenerateCredentialsResponse . Builder setEndpointBytes ( ByteString value )
The generated URI of the cluster as accessed through the Connect Gateway
API.
string endpoint = 2;
Parameter
Name
Description
value
ByteString
The bytes for endpoint to set.
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateCredentialsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setKubeconfig(ByteString value)
public GenerateCredentialsResponse . Builder setKubeconfig ( ByteString value )
A full YAML kubeconfig in serialized format.
bytes kubeconfig = 1;
Parameter
Name
Description
value
ByteString
The kubeconfig to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateCredentialsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateCredentialsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]