Class CreateCertificateMapRequest.Builder (0.45.0)

public static final class CreateCertificateMapRequest.Builder extends GeneratedMessageV3.Builder<CreateCertificateMapRequest.Builder> implements CreateCertificateMapRequestOrBuilder

Request for the CreateCertificateMap method.

Protobuf type google.cloud.certificatemanager.v1.CreateCertificateMapRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateCertificateMapRequest build()
Returns
Type Description
CreateCertificateMapRequest

buildPartial()

public CreateCertificateMapRequest buildPartial()
Returns
Type Description
CreateCertificateMapRequest

clear()

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

clearCertificateMap()

public CreateCertificateMapRequest.Builder clearCertificateMap()

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCertificateMapRequest.Builder

clearCertificateMapId()

public CreateCertificateMapRequest.Builder clearCertificateMapId()

Required. A user-provided name of the certificate map.

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

Returns
Type Description
CreateCertificateMapRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateCertificateMapRequest.Builder clearParent()

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

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

Returns
Type Description
CreateCertificateMapRequest.Builder

This builder for chaining.

clone()

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

getCertificateMap()

public CertificateMap getCertificateMap()

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateMap

The certificateMap.

getCertificateMapBuilder()

public CertificateMap.Builder getCertificateMapBuilder()

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateMap.Builder

getCertificateMapId()

public String getCertificateMapId()

Required. A user-provided name of the certificate map.

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

Returns
Type Description
String

The certificateMapId.

getCertificateMapIdBytes()

public ByteString getCertificateMapIdBytes()

Required. A user-provided name of the certificate map.

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

Returns
Type Description
ByteString

The bytes for certificateMapId.

getCertificateMapOrBuilder()

public CertificateMapOrBuilder getCertificateMapOrBuilder()

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateMapOrBuilder

getDefaultInstanceForType()

public CreateCertificateMapRequest getDefaultInstanceForType()
Returns
Type Description
CreateCertificateMapRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource of the certificate map. 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 certificate map. 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.

hasCertificateMap()

public boolean hasCertificateMap()

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the certificateMap field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCertificateMap(CertificateMap value)

public CreateCertificateMapRequest.Builder mergeCertificateMap(CertificateMap value)

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CertificateMap
Returns
Type Description
CreateCertificateMapRequest.Builder

mergeFrom(CreateCertificateMapRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCertificateMap(CertificateMap value)

public CreateCertificateMapRequest.Builder setCertificateMap(CertificateMap value)

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CertificateMap
Returns
Type Description
CreateCertificateMapRequest.Builder

setCertificateMap(CertificateMap.Builder builderForValue)

public CreateCertificateMapRequest.Builder setCertificateMap(CertificateMap.Builder builderForValue)

Required. A definition of the certificate map to create.

.google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CertificateMap.Builder
Returns
Type Description
CreateCertificateMapRequest.Builder

setCertificateMapId(String value)

public CreateCertificateMapRequest.Builder setCertificateMapId(String value)

Required. A user-provided name of the certificate map.

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

Parameter
Name Description
value String

The certificateMapId to set.

Returns
Type Description
CreateCertificateMapRequest.Builder

This builder for chaining.

setCertificateMapIdBytes(ByteString value)

public CreateCertificateMapRequest.Builder setCertificateMapIdBytes(ByteString value)

Required. A user-provided name of the certificate map.

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

Parameter
Name Description
value ByteString

The bytes for certificateMapId to set.

Returns
Type Description
CreateCertificateMapRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateCertificateMapRequest.Builder setParent(String value)

Required. The parent resource of the certificate map. 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
CreateCertificateMapRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateCertificateMapRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the certificate map. 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
CreateCertificateMapRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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