- 2.53.0 (latest)
- 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.41.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.29.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.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
public static final class KeyUsage.ExtendedKeyUsageOptions.Builder extends GeneratedMessageV3.Builder<KeyUsage.ExtendedKeyUsageOptions.Builder> implements KeyUsage.ExtendedKeyUsageOptionsOrBuilder
KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value.
Protobuf type google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KeyUsage.ExtendedKeyUsageOptions.BuilderImplements
KeyUsage.ExtendedKeyUsageOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KeyUsage.ExtendedKeyUsageOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
build()
public KeyUsage.ExtendedKeyUsageOptions build()
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions |
buildPartial()
public KeyUsage.ExtendedKeyUsageOptions buildPartial()
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions |
clear()
public KeyUsage.ExtendedKeyUsageOptions.Builder clear()
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
clearClientAuth()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearClientAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
bool client_auth = 2;
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearCodeSigning()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearCodeSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
bool code_signing = 3;
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearEmailProtection()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearEmailProtection()
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
bool email_protection = 4;
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public KeyUsage.ExtendedKeyUsageOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
clearOcspSigning()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearOcspSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
bool ocsp_signing = 6;
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public KeyUsage.ExtendedKeyUsageOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
clearServerAuth()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearServerAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
bool server_auth = 1;
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearTimeStamping()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearTimeStamping()
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
bool time_stamping = 5;
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clone()
public KeyUsage.ExtendedKeyUsageOptions.Builder clone()
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
getClientAuth()
public boolean getClientAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
bool client_auth = 2;
Returns | |
---|---|
Type | Description |
boolean | The clientAuth. |
getCodeSigning()
public boolean getCodeSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
bool code_signing = 3;
Returns | |
---|---|
Type | Description |
boolean | The codeSigning. |
getDefaultInstanceForType()
public KeyUsage.ExtendedKeyUsageOptions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEmailProtection()
public boolean getEmailProtection()
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
bool email_protection = 4;
Returns | |
---|---|
Type | Description |
boolean | The emailProtection. |
getOcspSigning()
public boolean getOcspSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
bool ocsp_signing = 6;
Returns | |
---|---|
Type | Description |
boolean | The ocspSigning. |
getServerAuth()
public boolean getServerAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
bool server_auth = 1;
Returns | |
---|---|
Type | Description |
boolean | The serverAuth. |
getTimeStamping()
public boolean getTimeStamping()
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
bool time_stamping = 5;
Returns | |
---|---|
Type | Description |
boolean | The timeStamping. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(KeyUsage.ExtendedKeyUsageOptions other)
public KeyUsage.ExtendedKeyUsageOptions.Builder mergeFrom(KeyUsage.ExtendedKeyUsageOptions other)
Parameter | |
---|---|
Name | Description |
other | KeyUsage.ExtendedKeyUsageOptions |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KeyUsage.ExtendedKeyUsageOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public KeyUsage.ExtendedKeyUsageOptions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KeyUsage.ExtendedKeyUsageOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
setClientAuth(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setClientAuth(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
bool client_auth = 2;
Parameter | |
---|---|
Name | Description |
value | boolean The clientAuth to set. |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setCodeSigning(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setCodeSigning(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
bool code_signing = 3;
Parameter | |
---|---|
Name | Description |
value | boolean The codeSigning to set. |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setEmailProtection(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setEmailProtection(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
bool email_protection = 4;
Parameter | |
---|---|
Name | Description |
value | boolean The emailProtection to set. |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
setOcspSigning(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setOcspSigning(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
bool ocsp_signing = 6;
Parameter | |
---|---|
Name | Description |
value | boolean The ocspSigning to set. |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
setServerAuth(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setServerAuth(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
bool server_auth = 1;
Parameter | |
---|---|
Name | Description |
value | boolean The serverAuth to set. |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setTimeStamping(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setTimeStamping(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
bool time_stamping = 5;
Parameter | |
---|---|
Name | Description |
value | boolean The timeStamping to set. |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final KeyUsage.ExtendedKeyUsageOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |