Class CreateTrustConfigRequest.Builder (0.54.0)

public static final class CreateTrustConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateTrustConfigRequest.Builder> implements CreateTrustConfigRequestOrBuilder

Request for the CreateTrustConfig method.

Protobuf type google.cloud.certificatemanager.v1.CreateTrustConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTrustConfigRequest build()
Returns
Type Description
CreateTrustConfigRequest

buildPartial()

public CreateTrustConfigRequest buildPartial()
Returns
Type Description
CreateTrustConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateTrustConfigRequest.Builder clearParent()

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateTrustConfigRequest.Builder

This builder for chaining.

clearTrustConfig()

public CreateTrustConfigRequest.Builder clearTrustConfig()

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTrustConfigRequest.Builder

clearTrustConfigId()

public CreateTrustConfigRequest.Builder clearTrustConfigId()

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTrustConfigRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTrustConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateTrustConfigRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getTrustConfig()

public TrustConfig getTrustConfig()

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrustConfig

The trustConfig.

getTrustConfigBuilder()

public TrustConfig.Builder getTrustConfigBuilder()

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrustConfig.Builder

getTrustConfigId()

public String getTrustConfigId()

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The trustConfigId.

getTrustConfigIdBytes()

public ByteString getTrustConfigIdBytes()

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for trustConfigId.

getTrustConfigOrBuilder()

public TrustConfigOrBuilder getTrustConfigOrBuilder()

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrustConfigOrBuilder

hasTrustConfig()

public boolean hasTrustConfig()

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the trustConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTrustConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTrustConfig(TrustConfig value)

public CreateTrustConfigRequest.Builder mergeTrustConfig(TrustConfig value)

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TrustConfig
Returns
Type Description
CreateTrustConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateTrustConfigRequest.Builder setParent(String value)

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateTrustConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTrustConfigRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateTrustConfigRequest.Builder

This builder for chaining.

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

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

setTrustConfig(TrustConfig value)

public CreateTrustConfigRequest.Builder setTrustConfig(TrustConfig value)

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TrustConfig
Returns
Type Description
CreateTrustConfigRequest.Builder

setTrustConfig(TrustConfig.Builder builderForValue)

public CreateTrustConfigRequest.Builder setTrustConfig(TrustConfig.Builder builderForValue)

Required. A definition of the TrustConfig to create.

.google.cloud.certificatemanager.v1.TrustConfig trust_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TrustConfig.Builder
Returns
Type Description
CreateTrustConfigRequest.Builder

setTrustConfigId(String value)

public CreateTrustConfigRequest.Builder setTrustConfigId(String value)

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The trustConfigId to set.

Returns
Type Description
CreateTrustConfigRequest.Builder

This builder for chaining.

setTrustConfigIdBytes(ByteString value)

public CreateTrustConfigRequest.Builder setTrustConfigIdBytes(ByteString value)

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

string trust_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for trustConfigId to set.

Returns
Type Description
CreateTrustConfigRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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