- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.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.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class GenerateOfflineCredentialResponse.Builder extends GeneratedMessageV3.Builder<GenerateOfflineCredentialResponse.Builder> implements GenerateOfflineCredentialResponseOrBuilder
An offline credential for a cluster.
Protobuf type google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateOfflineCredentialResponse.BuilderImplements
GenerateOfflineCredentialResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateOfflineCredentialResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
build()
public GenerateOfflineCredentialResponse build()
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse |
buildPartial()
public GenerateOfflineCredentialResponse buildPartial()
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse |
clear()
public GenerateOfflineCredentialResponse.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
clearClientCertificate()
public GenerateOfflineCredentialResponse.Builder clearClientCertificate()
Output only. Client certificate to authenticate to k8s api-server.
string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
clearClientKey()
public GenerateOfflineCredentialResponse.Builder clearClientKey()
Output only. Client private key to authenticate to k8s api-server.
string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
clearExpireTime()
public GenerateOfflineCredentialResponse.Builder clearExpireTime()
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateOfflineCredentialResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateOfflineCredentialResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
clearUserId()
public GenerateOfflineCredentialResponse.Builder clearUserId()
Output only. Client's identity.
string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
clone()
public GenerateOfflineCredentialResponse.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
getClientCertificate()
public String getClientCertificate()
Output only. Client certificate to authenticate to k8s api-server.
string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The clientCertificate. |
getClientCertificateBytes()
public ByteString getClientCertificateBytes()
Output only. Client certificate to authenticate to k8s api-server.
string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for clientCertificate. |
getClientKey()
public String getClientKey()
Output only. Client private key to authenticate to k8s api-server.
string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The clientKey. |
getClientKeyBytes()
public ByteString getClientKeyBytes()
Output only. Client private key to authenticate to k8s api-server.
string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for clientKey. |
getDefaultInstanceForType()
public GenerateOfflineCredentialResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpireTime()
public Timestamp getExpireTime()
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUserId()
public String getUserId()
Output only. Client's identity.
string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The userId. |
getUserIdBytes()
public ByteString getUserIdBytes()
Output only. Client's identity.
string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for userId. |
hasExpireTime()
public boolean hasExpireTime()
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the expireTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeExpireTime(Timestamp value)
public GenerateOfflineCredentialResponse.Builder mergeExpireTime(Timestamp value)
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
mergeFrom(GenerateOfflineCredentialResponse other)
public GenerateOfflineCredentialResponse.Builder mergeFrom(GenerateOfflineCredentialResponse other)
Parameter | |
---|---|
Name | Description |
other |
GenerateOfflineCredentialResponse |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateOfflineCredentialResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateOfflineCredentialResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateOfflineCredentialResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
setClientCertificate(String value)
public GenerateOfflineCredentialResponse.Builder setClientCertificate(String value)
Output only. Client certificate to authenticate to k8s api-server.
string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The clientCertificate to set. |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
setClientCertificateBytes(ByteString value)
public GenerateOfflineCredentialResponse.Builder setClientCertificateBytes(ByteString value)
Output only. Client certificate to authenticate to k8s api-server.
string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for clientCertificate to set. |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
setClientKey(String value)
public GenerateOfflineCredentialResponse.Builder setClientKey(String value)
Output only. Client private key to authenticate to k8s api-server.
string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The clientKey to set. |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
setClientKeyBytes(ByteString value)
public GenerateOfflineCredentialResponse.Builder setClientKeyBytes(ByteString value)
Output only. Client private key to authenticate to k8s api-server.
string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for clientKey to set. |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
setExpireTime(Timestamp value)
public GenerateOfflineCredentialResponse.Builder setExpireTime(Timestamp value)
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
setExpireTime(Timestamp.Builder builderForValue)
public GenerateOfflineCredentialResponse.Builder setExpireTime(Timestamp.Builder builderForValue)
Output only. Timestamp at which this credential will expire.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateOfflineCredentialResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateOfflineCredentialResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateOfflineCredentialResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
setUserId(String value)
public GenerateOfflineCredentialResponse.Builder setUserId(String value)
Output only. Client's identity.
string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The userId to set. |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |
setUserIdBytes(ByteString value)
public GenerateOfflineCredentialResponse.Builder setUserIdBytes(ByteString value)
Output only. Client's identity.
string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userId to set. |
Returns | |
---|---|
Type | Description |
GenerateOfflineCredentialResponse.Builder |
This builder for chaining. |