- 2.85.0 (latest)
- 2.84.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 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 AttributeTypeAndValue.Builder extends GeneratedMessage.Builder<AttributeTypeAndValue.Builder> implements AttributeTypeAndValueOrBuilderAttributeTypeAndValue specifies an attribute type and value. It can use either a OID or enum value to specify the attribute type.
Protobuf type google.cloud.security.privateca.v1.AttributeTypeAndValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AttributeTypeAndValue.BuilderImplements
AttributeTypeAndValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AttributeTypeAndValue build()| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue |
|
buildPartial()
public AttributeTypeAndValue buildPartial()| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue |
|
clear()
public AttributeTypeAndValue.Builder clear()| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
clearAttributeType()
public AttributeTypeAndValue.Builder clearAttributeType()| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
clearObjectId()
public AttributeTypeAndValue.Builder clearObjectId()Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
clearType()
public AttributeTypeAndValue.Builder clearType()The attribute type of the attribute and value pair.
.google.cloud.security.privateca.v1.AttributeType type = 1;
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
This builder for chaining. |
clearValue()
public AttributeTypeAndValue.Builder clearValue()The value for the attribute type.
string value = 3;
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
This builder for chaining. |
getAttributeTypeCase()
public AttributeTypeAndValue.AttributeTypeCase getAttributeTypeCase()| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.AttributeTypeCase |
|
getDefaultInstanceForType()
public AttributeTypeAndValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getObjectId()
public ObjectId getObjectId()Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectId |
The objectId. |
getObjectIdBuilder()
public ObjectId.Builder getObjectIdBuilder()Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectId.Builder |
|
getObjectIdOrBuilder()
public ObjectIdOrBuilder getObjectIdOrBuilder()Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectIdOrBuilder |
|
getType()
public AttributeType getType()The attribute type of the attribute and value pair.
.google.cloud.security.privateca.v1.AttributeType type = 1;
| Returns | |
|---|---|
| Type | Description |
AttributeType |
The type. |
getTypeValue()
public int getTypeValue()The attribute type of the attribute and value pair.
.google.cloud.security.privateca.v1.AttributeType type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getValue()
public String getValue()The value for the attribute type.
string value = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()The value for the attribute type.
string value = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
hasObjectId()
public boolean hasObjectId()Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the objectId field is set. |
hasType()
public boolean hasType()The attribute type of the attribute and value pair.
.google.cloud.security.privateca.v1.AttributeType type = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AttributeTypeAndValue other)
public AttributeTypeAndValue.Builder mergeFrom(AttributeTypeAndValue other)| Parameter | |
|---|---|
| Name | Description |
other |
AttributeTypeAndValue |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttributeTypeAndValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AttributeTypeAndValue.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
mergeObjectId(ObjectId value)
public AttributeTypeAndValue.Builder mergeObjectId(ObjectId value)Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectId |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
setObjectId(ObjectId value)
public AttributeTypeAndValue.Builder setObjectId(ObjectId value)Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectId |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
setObjectId(ObjectId.Builder builderForValue)
public AttributeTypeAndValue.Builder setObjectId(ObjectId.Builder builderForValue)Object ID for an attribute type of an attribute and value pair.
.google.cloud.security.privateca.v1.ObjectId object_id = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ObjectId.Builder |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
|
setType(AttributeType value)
public AttributeTypeAndValue.Builder setType(AttributeType value)The attribute type of the attribute and value pair.
.google.cloud.security.privateca.v1.AttributeType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AttributeTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
This builder for chaining. |
setTypeValue(int value)
public AttributeTypeAndValue.Builder setTypeValue(int value)The attribute type of the attribute and value pair.
.google.cloud.security.privateca.v1.AttributeType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
This builder for chaining. |
setValue(String value)
public AttributeTypeAndValue.Builder setValue(String value)The value for the attribute type.
string value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public AttributeTypeAndValue.Builder setValueBytes(ByteString value)The value for the attribute type.
string value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeTypeAndValue.Builder |
This builder for chaining. |