Class TargetHttpsProxiesSetCertificateMapRequest.Builder (1.54.0)

public static final class TargetHttpsProxiesSetCertificateMapRequest.Builder extends GeneratedMessageV3.Builder<TargetHttpsProxiesSetCertificateMapRequest.Builder> implements TargetHttpsProxiesSetCertificateMapRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetCertificateMapRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetHttpsProxiesSetCertificateMapRequest build()
Returns
Type Description
TargetHttpsProxiesSetCertificateMapRequest

buildPartial()

public TargetHttpsProxiesSetCertificateMapRequest buildPartial()
Returns
Type Description
TargetHttpsProxiesSetCertificateMapRequest

clear()

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

clearCertificateMap()

public TargetHttpsProxiesSetCertificateMapRequest.Builder clearCertificateMap()

URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.

optional string certificate_map = 156463796;

Returns
Type Description
TargetHttpsProxiesSetCertificateMapRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCertificateMap()

public String getCertificateMap()

URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.

optional string certificate_map = 156463796;

Returns
Type Description
String

The certificateMap.

getCertificateMapBytes()

public ByteString getCertificateMapBytes()

URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.

optional string certificate_map = 156463796;

Returns
Type Description
ByteString

The bytes for certificateMap.

getDefaultInstanceForType()

public TargetHttpsProxiesSetCertificateMapRequest getDefaultInstanceForType()
Returns
Type Description
TargetHttpsProxiesSetCertificateMapRequest

getDescriptorForType()

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

hasCertificateMap()

public boolean hasCertificateMap()

URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.

optional string certificate_map = 156463796;

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

mergeFrom(TargetHttpsProxiesSetCertificateMapRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCertificateMap(String value)

public TargetHttpsProxiesSetCertificateMapRequest.Builder setCertificateMap(String value)

URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.

optional string certificate_map = 156463796;

Parameter
Name Description
value String

The certificateMap to set.

Returns
Type Description
TargetHttpsProxiesSetCertificateMapRequest.Builder

This builder for chaining.

setCertificateMapBytes(ByteString value)

public TargetHttpsProxiesSetCertificateMapRequest.Builder setCertificateMapBytes(ByteString value)

URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.

optional string certificate_map = 156463796;

Parameter
Name Description
value ByteString

The bytes for certificateMap to set.

Returns
Type Description
TargetHttpsProxiesSetCertificateMapRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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