Class CreateCertificateMapEntryRequest.Builder (0.5.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateCertificateMapEntryRequest build()
Returns
TypeDescription
CreateCertificateMapEntryRequest

buildPartial()

public CreateCertificateMapEntryRequest buildPartial()
Returns
TypeDescription
CreateCertificateMapEntryRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateCertificateMapEntryRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateCertificateMapEntryRequest

getDescriptorForType()

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

Whether the certificateMapEntry field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(CreateCertificateMapEntryRequest other)

public CreateCertificateMapEntryRequest.Builder mergeFrom(CreateCertificateMapEntryRequest other)
Parameter
NameDescription
otherCreateCertificateMapEntryRequest
Returns
TypeDescription
CreateCertificateMapEntryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCertificateMapEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCertificateMapEntry
Returns
TypeDescription
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
NameDescription
builderForValueCertificateMapEntry.Builder
Returns
TypeDescription
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
NameDescription
valueString

The certificateMapEntryId to set.

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

The bytes for certificateMapEntryId to set.

Returns
TypeDescription
CreateCertificateMapEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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