Class CreateCertificateMapRequest.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateCertificateMapRequest build()
Returns
TypeDescription
CreateCertificateMapRequest

buildPartial()

public CreateCertificateMapRequest buildPartial()
Returns
TypeDescription
CreateCertificateMapRequest

clear()

public CreateCertificateMapRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateCertificateMapRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CreateCertificateMapRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateMapOrBuilder

getDefaultInstanceForType()

public CreateCertificateMapRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateCertificateMapRequest

getDescriptorForType()

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

Whether the certificateMap field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCertificateMap
Returns
TypeDescription
CreateCertificateMapRequest.Builder

mergeFrom(CreateCertificateMapRequest other)

public CreateCertificateMapRequest.Builder mergeFrom(CreateCertificateMapRequest other)
Parameter
NameDescription
otherCreateCertificateMapRequest
Returns
TypeDescription
CreateCertificateMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateCertificateMapRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateCertificateMapRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCertificateMapRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCertificateMap
Returns
TypeDescription
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
NameDescription
builderForValueCertificateMap.Builder
Returns
TypeDescription
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
NameDescription
valueString

The certificateMapId to set.

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

The bytes for certificateMapId to set.

Returns
TypeDescription
CreateCertificateMapRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateCertificateMapRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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