Class ReusableConfigWrapper.Builder (2.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReusableConfigWrapper.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides

build()

public ReusableConfigWrapper build()
Returns
TypeDescription
ReusableConfigWrapper

buildPartial()

public ReusableConfigWrapper buildPartial()
Returns
TypeDescription
ReusableConfigWrapper

clear()

public ReusableConfigWrapper.Builder clear()
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides

clearConfigValues()

public ReusableConfigWrapper.Builder clearConfigValues()
Returns
TypeDescription
ReusableConfigWrapper.Builder

clearField(Descriptors.FieldDescriptor field)

public ReusableConfigWrapper.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReusableConfigWrapper.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ReusableConfigWrapper.Builder

clone()

public ReusableConfigWrapper.Builder clone()
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides

getConfigValuesCase()

public ReusableConfigWrapper.ConfigValuesCase getConfigValuesCase()
Returns
TypeDescription
ReusableConfigWrapper.ConfigValuesCase

getDefaultInstanceForType()

public ReusableConfigWrapper getDefaultInstanceForType()
Returns
TypeDescription
ReusableConfigWrapper

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the reusableConfigValues field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReusableConfigWrapper other)

public ReusableConfigWrapper.Builder mergeFrom(ReusableConfigWrapper other)
Parameter
NameDescription
otherReusableConfigWrapper
Returns
TypeDescription
ReusableConfigWrapper.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReusableConfigWrapper.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReusableConfigWrapper.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueReusableConfigValues
Returns
TypeDescription
ReusableConfigWrapper.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigWrapper.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReusableConfigWrapper.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides

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

public ReusableConfigWrapper.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The reusableConfig to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for reusableConfig to set.

Returns
TypeDescription
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
NameDescription
valueReusableConfigValues
Returns
TypeDescription
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
NameDescription
builderForValueReusableConfigValues.Builder
Returns
TypeDescription
ReusableConfigWrapper.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigWrapper.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReusableConfigWrapper.Builder
Overrides