Class ReusableConfigWrapper.Builder (2.47.0)

public static final class ReusableConfigWrapper.Builder extends GeneratedMessageV3.Builder<ReusableConfigWrapper.Builder> implements ReusableConfigWrapperOrBuilder

A ReusableConfigWrapper describes values that may assist in creating an X.509 certificate, or a reference to a pre-defined set of values.

Protobuf type google.cloud.security.privateca.v1beta1.ReusableConfigWrapper

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReusableConfigWrapper.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

build()

public ReusableConfigWrapper build()
Returns
Type Description
ReusableConfigWrapper

buildPartial()

public ReusableConfigWrapper buildPartial()
Returns
Type Description
ReusableConfigWrapper

clear()

public ReusableConfigWrapper.Builder clear()
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

clearConfigValues()

public ReusableConfigWrapper.Builder clearConfigValues()
Returns
Type Description
ReusableConfigWrapper.Builder

clearField(Descriptors.FieldDescriptor field)

public ReusableConfigWrapper.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReusableConfigWrapper.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

clearReusableConfig()

public ReusableConfigWrapper.Builder clearReusableConfig()

Required. A resource path to a ReusableConfig in the format projects/*/locations/*/reusableConfigs/*.

string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReusableConfigWrapper.Builder

This builder for chaining.

clearReusableConfigValues()

public ReusableConfigWrapper.Builder clearReusableConfigValues()

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReusableConfigWrapper.Builder

clone()

public ReusableConfigWrapper.Builder clone()
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

getConfigValuesCase()

public ReusableConfigWrapper.ConfigValuesCase getConfigValuesCase()
Returns
Type Description
ReusableConfigWrapper.ConfigValuesCase

getDefaultInstanceForType()

public ReusableConfigWrapper getDefaultInstanceForType()
Returns
Type Description
ReusableConfigWrapper

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReusableConfig()

public String getReusableConfig()

Required. A resource path to a ReusableConfig in the format projects/*/locations/*/reusableConfigs/*.

string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The reusableConfig.

getReusableConfigBytes()

public ByteString getReusableConfigBytes()

Required. A resource path to a ReusableConfig in the format projects/*/locations/*/reusableConfigs/*.

string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for reusableConfig.

getReusableConfigValues()

public ReusableConfigValues getReusableConfigValues()

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReusableConfigValues

The reusableConfigValues.

getReusableConfigValuesBuilder()

public ReusableConfigValues.Builder getReusableConfigValuesBuilder()

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReusableConfigValues.Builder

getReusableConfigValuesOrBuilder()

public ReusableConfigValuesOrBuilder getReusableConfigValuesOrBuilder()

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReusableConfigValuesOrBuilder

hasReusableConfig()

public boolean hasReusableConfig()

Required. A resource path to a ReusableConfig in the format projects/*/locations/*/reusableConfigs/*.

string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the reusableConfig field is set.

hasReusableConfigValues()

public boolean hasReusableConfigValues()

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the reusableConfigValues field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReusableConfigWrapper other)

public ReusableConfigWrapper.Builder mergeFrom(ReusableConfigWrapper other)
Parameter
Name Description
other ReusableConfigWrapper
Returns
Type Description
ReusableConfigWrapper.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReusableConfigWrapper.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReusableConfigWrapper.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

mergeReusableConfigValues(ReusableConfigValues value)

public ReusableConfigWrapper.Builder mergeReusableConfigValues(ReusableConfigValues value)

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReusableConfigValues
Returns
Type Description
ReusableConfigWrapper.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigWrapper.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReusableConfigWrapper.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReusableConfigWrapper.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides

setReusableConfig(String value)

public ReusableConfigWrapper.Builder setReusableConfig(String value)

Required. A resource path to a ReusableConfig in the format projects/*/locations/*/reusableConfigs/*.

string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The reusableConfig to set.

Returns
Type Description
ReusableConfigWrapper.Builder

This builder for chaining.

setReusableConfigBytes(ByteString value)

public ReusableConfigWrapper.Builder setReusableConfigBytes(ByteString value)

Required. A resource path to a ReusableConfig in the format projects/*/locations/*/reusableConfigs/*.

string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for reusableConfig to set.

Returns
Type Description
ReusableConfigWrapper.Builder

This builder for chaining.

setReusableConfigValues(ReusableConfigValues value)

public ReusableConfigWrapper.Builder setReusableConfigValues(ReusableConfigValues value)

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReusableConfigValues
Returns
Type Description
ReusableConfigWrapper.Builder

setReusableConfigValues(ReusableConfigValues.Builder builderForValue)

public ReusableConfigWrapper.Builder setReusableConfigValues(ReusableConfigValues.Builder builderForValue)

Required. A user-specified inline ReusableConfigValues.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues reusable_config_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ReusableConfigValues.Builder
Returns
Type Description
ReusableConfigWrapper.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigWrapper.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReusableConfigWrapper.Builder
Overrides