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.v1.GenerateCredentialsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateCredentialsResponse.BuilderImplements
GenerateCredentialsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateCredentialsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
build()
public GenerateCredentialsResponse build()
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse |
buildPartial()
public GenerateCredentialsResponse buildPartial()
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse |
clear()
public GenerateCredentialsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
clearEndpoint()
public GenerateCredentialsResponse.Builder clearEndpoint()
The generated URI of the cluster as accessed through the Connect Gateway API.
string endpoint = 2;
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GenerateCredentialsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
clearKubeconfig()
public GenerateCredentialsResponse.Builder clearKubeconfig()
A full YAML kubeconfig in serialized format.
bytes kubeconfig = 1;
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateCredentialsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
clone()
public GenerateCredentialsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
getDefaultInstanceForType()
public GenerateCredentialsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GenerateCredentialsResponse other)
public GenerateCredentialsResponse.Builder mergeFrom(GenerateCredentialsResponse other)
Parameter | |
---|---|
Name | Description |
other |
GenerateCredentialsResponse |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateCredentialsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateCredentialsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateCredentialsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
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. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateCredentialsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
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. |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateCredentialsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateCredentialsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateCredentialsResponse.Builder |