- 2.55.0 (latest)
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.5
- 2.5.0
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.1
public static final class TlsCertificate.Builder extends GeneratedMessageV3.Builder<TlsCertificate.Builder> implements TlsCertificateOrBuilder
TlsCertificate Resource
Protobuf type google.cloud.redis.v1beta1.TlsCertificate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TlsCertificate.BuilderImplements
TlsCertificateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TlsCertificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
build()
public TlsCertificate build()
Returns | |
---|---|
Type | Description |
TlsCertificate |
buildPartial()
public TlsCertificate buildPartial()
Returns | |
---|---|
Type | Description |
TlsCertificate |
clear()
public TlsCertificate.Builder clear()
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
clearCert()
public TlsCertificate.Builder clearCert()
PEM representation.
string cert = 2;
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
clearCreateTime()
public TlsCertificate.Builder clearCreateTime()
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
clearExpireTime()
public TlsCertificate.Builder clearExpireTime()
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
clearField(Descriptors.FieldDescriptor field)
public TlsCertificate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TlsCertificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
clearSerialNumber()
public TlsCertificate.Builder clearSerialNumber()
Serial number, as extracted from the certificate.
string serial_number = 1;
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
clearSha1Fingerprint()
public TlsCertificate.Builder clearSha1Fingerprint()
Sha1 Fingerprint of the certificate.
string sha1_fingerprint = 5;
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
clone()
public TlsCertificate.Builder clone()
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
getCert()
public String getCert()
PEM representation.
string cert = 2;
Returns | |
---|---|
Type | Description |
String | The cert. |
getCertBytes()
public ByteString getCertBytes()
PEM representation.
string cert = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for cert. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public TlsCertificate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TlsCertificate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpireTime()
public Timestamp getExpireTime()
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.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. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getSerialNumber()
public String getSerialNumber()
Serial number, as extracted from the certificate.
string serial_number = 1;
Returns | |
---|---|
Type | Description |
String | The serialNumber. |
getSerialNumberBytes()
public ByteString getSerialNumberBytes()
Serial number, as extracted from the certificate.
string serial_number = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serialNumber. |
getSha1Fingerprint()
public String getSha1Fingerprint()
Sha1 Fingerprint of the certificate.
string sha1_fingerprint = 5;
Returns | |
---|---|
Type | Description |
String | The sha1Fingerprint. |
getSha1FingerprintBytes()
public ByteString getSha1FingerprintBytes()
Sha1 Fingerprint of the certificate.
string sha1_fingerprint = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sha1Fingerprint. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasExpireTime()
public boolean hasExpireTime()
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.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 |
mergeCreateTime(Timestamp value)
public TlsCertificate.Builder mergeCreateTime(Timestamp value)
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
mergeExpireTime(Timestamp value)
public TlsCertificate.Builder mergeExpireTime(Timestamp value)
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
mergeFrom(TlsCertificate other)
public TlsCertificate.Builder mergeFrom(TlsCertificate other)
Parameter | |
---|---|
Name | Description |
other | TlsCertificate |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TlsCertificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TlsCertificate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TlsCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
setCert(String value)
public TlsCertificate.Builder setCert(String value)
PEM representation.
string cert = 2;
Parameter | |
---|---|
Name | Description |
value | String The cert to set. |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
setCertBytes(ByteString value)
public TlsCertificate.Builder setCertBytes(ByteString value)
PEM representation.
string cert = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for cert to set. |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public TlsCertificate.Builder setCreateTime(Timestamp value)
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public TlsCertificate.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
setExpireTime(Timestamp value)
public TlsCertificate.Builder setExpireTime(Timestamp value)
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
setExpireTime(Timestamp.Builder builderForValue)
public TlsCertificate.Builder setExpireTime(Timestamp.Builder builderForValue)
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TlsCertificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TlsCertificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |
setSerialNumber(String value)
public TlsCertificate.Builder setSerialNumber(String value)
Serial number, as extracted from the certificate.
string serial_number = 1;
Parameter | |
---|---|
Name | Description |
value | String The serialNumber to set. |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
setSerialNumberBytes(ByteString value)
public TlsCertificate.Builder setSerialNumberBytes(ByteString value)
Serial number, as extracted from the certificate.
string serial_number = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for serialNumber to set. |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
setSha1Fingerprint(String value)
public TlsCertificate.Builder setSha1Fingerprint(String value)
Sha1 Fingerprint of the certificate.
string sha1_fingerprint = 5;
Parameter | |
---|---|
Name | Description |
value | String The sha1Fingerprint to set. |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
setSha1FingerprintBytes(ByteString value)
public TlsCertificate.Builder setSha1FingerprintBytes(ByteString value)
Sha1 Fingerprint of the certificate.
string sha1_fingerprint = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for sha1Fingerprint to set. |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TlsCertificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TlsCertificate.Builder |