- 2.55.0 (latest)
- 2.54.0
- 2.53.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.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 Subject.Builder extends GeneratedMessageV3.Builder<Subject.Builder> implements SubjectOrBuilder
Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate.
Protobuf type google.cloud.security.privateca.v1beta1.Subject
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Subject.BuilderImplements
SubjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Subject.Builder |
build()
public Subject build()
Returns | |
---|---|
Type | Description |
Subject |
buildPartial()
public Subject buildPartial()
Returns | |
---|---|
Type | Description |
Subject |
clear()
public Subject.Builder clear()
Returns | |
---|---|
Type | Description |
Subject.Builder |
clearCountryCode()
public Subject.Builder clearCountryCode()
The country code of the subject.
string country_code = 1;
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Subject.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Subject.Builder |
clearLocality()
public Subject.Builder clearLocality()
The locality or city of the subject.
string locality = 4;
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Subject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Subject.Builder |
clearOrganization()
public Subject.Builder clearOrganization()
The organization of the subject.
string organization = 2;
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
clearOrganizationalUnit()
public Subject.Builder clearOrganizationalUnit()
The organizational_unit of the subject.
string organizational_unit = 3;
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
clearPostalCode()
public Subject.Builder clearPostalCode()
The postal code of the subject.
string postal_code = 7;
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
clearProvince()
public Subject.Builder clearProvince()
The province, territory, or regional state of the subject.
string province = 5;
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
clearStreetAddress()
public Subject.Builder clearStreetAddress()
The street address of the subject.
string street_address = 6;
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
clone()
public Subject.Builder clone()
Returns | |
---|---|
Type | Description |
Subject.Builder |
getCountryCode()
public String getCountryCode()
The country code of the subject.
string country_code = 1;
Returns | |
---|---|
Type | Description |
String |
The countryCode. |
getCountryCodeBytes()
public ByteString getCountryCodeBytes()
The country code of the subject.
string country_code = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for countryCode. |
getDefaultInstanceForType()
public Subject getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Subject |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLocality()
public String getLocality()
The locality or city of the subject.
string locality = 4;
Returns | |
---|---|
Type | Description |
String |
The locality. |
getLocalityBytes()
public ByteString getLocalityBytes()
The locality or city of the subject.
string locality = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for locality. |
getOrganization()
public String getOrganization()
The organization of the subject.
string organization = 2;
Returns | |
---|---|
Type | Description |
String |
The organization. |
getOrganizationBytes()
public ByteString getOrganizationBytes()
The organization of the subject.
string organization = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for organization. |
getOrganizationalUnit()
public String getOrganizationalUnit()
The organizational_unit of the subject.
string organizational_unit = 3;
Returns | |
---|---|
Type | Description |
String |
The organizationalUnit. |
getOrganizationalUnitBytes()
public ByteString getOrganizationalUnitBytes()
The organizational_unit of the subject.
string organizational_unit = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for organizationalUnit. |
getPostalCode()
public String getPostalCode()
The postal code of the subject.
string postal_code = 7;
Returns | |
---|---|
Type | Description |
String |
The postalCode. |
getPostalCodeBytes()
public ByteString getPostalCodeBytes()
The postal code of the subject.
string postal_code = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for postalCode. |
getProvince()
public String getProvince()
The province, territory, or regional state of the subject.
string province = 5;
Returns | |
---|---|
Type | Description |
String |
The province. |
getProvinceBytes()
public ByteString getProvinceBytes()
The province, territory, or regional state of the subject.
string province = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for province. |
getStreetAddress()
public String getStreetAddress()
The street address of the subject.
string street_address = 6;
Returns | |
---|---|
Type | Description |
String |
The streetAddress. |
getStreetAddressBytes()
public ByteString getStreetAddressBytes()
The street address of the subject.
string street_address = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for streetAddress. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Subject other)
public Subject.Builder mergeFrom(Subject other)
Parameter | |
---|---|
Name | Description |
other |
Subject |
Returns | |
---|---|
Type | Description |
Subject.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Subject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Subject.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Subject.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Subject.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Subject.Builder |
setCountryCode(String value)
public Subject.Builder setCountryCode(String value)
The country code of the subject.
string country_code = 1;
Parameter | |
---|---|
Name | Description |
value |
String The countryCode to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setCountryCodeBytes(ByteString value)
public Subject.Builder setCountryCodeBytes(ByteString value)
The country code of the subject.
string country_code = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for countryCode to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Subject.Builder |
setLocality(String value)
public Subject.Builder setLocality(String value)
The locality or city of the subject.
string locality = 4;
Parameter | |
---|---|
Name | Description |
value |
String The locality to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setLocalityBytes(ByteString value)
public Subject.Builder setLocalityBytes(ByteString value)
The locality or city of the subject.
string locality = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for locality to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setOrganization(String value)
public Subject.Builder setOrganization(String value)
The organization of the subject.
string organization = 2;
Parameter | |
---|---|
Name | Description |
value |
String The organization to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setOrganizationBytes(ByteString value)
public Subject.Builder setOrganizationBytes(ByteString value)
The organization of the subject.
string organization = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for organization to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setOrganizationalUnit(String value)
public Subject.Builder setOrganizationalUnit(String value)
The organizational_unit of the subject.
string organizational_unit = 3;
Parameter | |
---|---|
Name | Description |
value |
String The organizationalUnit to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setOrganizationalUnitBytes(ByteString value)
public Subject.Builder setOrganizationalUnitBytes(ByteString value)
The organizational_unit of the subject.
string organizational_unit = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for organizationalUnit to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setPostalCode(String value)
public Subject.Builder setPostalCode(String value)
The postal code of the subject.
string postal_code = 7;
Parameter | |
---|---|
Name | Description |
value |
String The postalCode to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setPostalCodeBytes(ByteString value)
public Subject.Builder setPostalCodeBytes(ByteString value)
The postal code of the subject.
string postal_code = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for postalCode to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setProvince(String value)
public Subject.Builder setProvince(String value)
The province, territory, or regional state of the subject.
string province = 5;
Parameter | |
---|---|
Name | Description |
value |
String The province to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setProvinceBytes(ByteString value)
public Subject.Builder setProvinceBytes(ByteString value)
The province, territory, or regional state of the subject.
string province = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for province to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Subject.Builder |
setStreetAddress(String value)
public Subject.Builder setStreetAddress(String value)
The street address of the subject.
string street_address = 6;
Parameter | |
---|---|
Name | Description |
value |
String The streetAddress to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setStreetAddressBytes(ByteString value)
public Subject.Builder setStreetAddressBytes(ByteString value)
The street address of the subject.
string street_address = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for streetAddress to set. |
Returns | |
---|---|
Type | Description |
Subject.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Subject.Builder |