Class TargetHttpsProxiesSetCertificateMapRequest.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetHttpsProxiesSetCertificateMapRequest build()
Returns
TypeDescription
TargetHttpsProxiesSetCertificateMapRequest

buildPartial()

public TargetHttpsProxiesSetCertificateMapRequest buildPartial()
Returns
TypeDescription
TargetHttpsProxiesSetCertificateMapRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetHttpsProxiesSetCertificateMapRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TargetHttpsProxiesSetCertificateMapRequest.Builder
Overrides

clone()

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

The bytes for certificateMap.

getDefaultInstanceForType()

public TargetHttpsProxiesSetCertificateMapRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetHttpsProxiesSetCertificateMapRequest

getDescriptorForType()

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

mergeFrom(TargetHttpsProxiesSetCertificateMapRequest other)

public TargetHttpsProxiesSetCertificateMapRequest.Builder mergeFrom(TargetHttpsProxiesSetCertificateMapRequest other)
Parameter
NameDescription
otherTargetHttpsProxiesSetCertificateMapRequest
Returns
TypeDescription
TargetHttpsProxiesSetCertificateMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The certificateMap to set.

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

The bytes for certificateMap to set.

Returns
TypeDescription
TargetHttpsProxiesSetCertificateMapRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TargetHttpsProxiesSetCertificateMapRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TargetHttpsProxiesSetCertificateMapRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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