Class CreateTrustConfigRequest.Builder (0.86.0)

public static final class CreateTrustConfigRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.

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.