Class CreateTrustConfigRequest.Builder (0.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTrustConfigRequest build()
Returns
TypeDescription
CreateTrustConfigRequest

buildPartial()

public CreateTrustConfigRequest buildPartial()
Returns
TypeDescription
CreateTrustConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateTrustConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTrustConfigRequest

getDescriptorForType()

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

Whether the trustConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTrustConfigRequest other)

public CreateTrustConfigRequest.Builder mergeFrom(CreateTrustConfigRequest other)
Parameter
NameDescription
otherCreateTrustConfigRequest
Returns
TypeDescription
CreateTrustConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTrustConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTrustConfig
Returns
TypeDescription
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
NameDescription
builderForValueTrustConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The trustConfigId to set.

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

The bytes for trustConfigId to set.

Returns
TypeDescription
CreateTrustConfigRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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