Class CreateCertificateMapEntryRequest.Builder (0.57.0)

public static final class CreateCertificateMapEntryRequest.Builder extends GeneratedMessageV3.Builder<CreateCertificateMapEntryRequest.Builder> implements CreateCertificateMapEntryRequestOrBuilder

Request for the CreateCertificateMapEntry method.

Protobuf type google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateCertificateMapEntryRequest build()
Returns
Type Description
CreateCertificateMapEntryRequest

buildPartial()

public CreateCertificateMapEntryRequest buildPartial()
Returns
Type Description
CreateCertificateMapEntryRequest

clear()

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

clearCertificateMapEntry()

public CreateCertificateMapEntryRequest.Builder clearCertificateMapEntry()

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCertificateMapEntryRequest.Builder

clearCertificateMapEntryId()

public CreateCertificateMapEntryRequest.Builder clearCertificateMapEntryId()

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

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

Returns
Type Description
CreateCertificateMapEntryRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateCertificateMapEntryRequest.Builder clearParent()

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

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

Returns
Type Description
CreateCertificateMapEntryRequest.Builder

This builder for chaining.

clone()

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

getCertificateMapEntry()

public CertificateMapEntry getCertificateMapEntry()

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateMapEntry

The certificateMapEntry.

getCertificateMapEntryBuilder()

public CertificateMapEntry.Builder getCertificateMapEntryBuilder()

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateMapEntry.Builder

getCertificateMapEntryId()

public String getCertificateMapEntryId()

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

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

Returns
Type Description
String

The certificateMapEntryId.

getCertificateMapEntryIdBytes()

public ByteString getCertificateMapEntryIdBytes()

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

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

Returns
Type Description
ByteString

The bytes for certificateMapEntryId.

getCertificateMapEntryOrBuilder()

public CertificateMapEntryOrBuilder getCertificateMapEntryOrBuilder()

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateMapEntryOrBuilder

getDefaultInstanceForType()

public CreateCertificateMapEntryRequest getDefaultInstanceForType()
Returns
Type Description
CreateCertificateMapEntryRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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 entry. Must be in the format projects/*/locations/*/certificateMaps/*.

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

Returns
Type Description
ByteString

The bytes for parent.

hasCertificateMapEntry()

public boolean hasCertificateMapEntry()

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the certificateMapEntry field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCertificateMapEntry(CertificateMapEntry value)

public CreateCertificateMapEntryRequest.Builder mergeCertificateMapEntry(CertificateMapEntry value)

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CertificateMapEntry
Returns
Type Description
CreateCertificateMapEntryRequest.Builder

mergeFrom(CreateCertificateMapEntryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCertificateMapEntry(CertificateMapEntry value)

public CreateCertificateMapEntryRequest.Builder setCertificateMapEntry(CertificateMapEntry value)

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CertificateMapEntry
Returns
Type Description
CreateCertificateMapEntryRequest.Builder

setCertificateMapEntry(CertificateMapEntry.Builder builderForValue)

public CreateCertificateMapEntryRequest.Builder setCertificateMapEntry(CertificateMapEntry.Builder builderForValue)

Required. A definition of the certificate map entry to create.

.google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CertificateMapEntry.Builder
Returns
Type Description
CreateCertificateMapEntryRequest.Builder

setCertificateMapEntryId(String value)

public CreateCertificateMapEntryRequest.Builder setCertificateMapEntryId(String value)

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

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

Parameter
Name Description
value String

The certificateMapEntryId to set.

Returns
Type Description
CreateCertificateMapEntryRequest.Builder

This builder for chaining.

setCertificateMapEntryIdBytes(ByteString value)

public CreateCertificateMapEntryRequest.Builder setCertificateMapEntryIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for certificateMapEntryId to set.

Returns
Type Description
CreateCertificateMapEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateCertificateMapEntryRequest.Builder setParent(String value)

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateCertificateMapEntryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateCertificateMapEntryRequest.Builder setParentBytes(ByteString value)

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

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
CreateCertificateMapEntryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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