Class TargetSslProxiesSetCertificateMapRequest.Builder (1.38.0)

public static final class TargetSslProxiesSetCertificateMapRequest.Builder extends GeneratedMessageV3.Builder<TargetSslProxiesSetCertificateMapRequest.Builder> implements TargetSslProxiesSetCertificateMapRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetCertificateMapRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetSslProxiesSetCertificateMapRequest build()
Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest

buildPartial()

public TargetSslProxiesSetCertificateMapRequest buildPartial()
Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest

clear()

public TargetSslProxiesSetCertificateMapRequest.Builder clear()
Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest.Builder
Overrides

clearCertificateMap()

public TargetSslProxiesSetCertificateMapRequest.Builder clearCertificateMap()

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

optional string certificate_map = 156463796;

Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TargetSslProxiesSetCertificateMapRequest.Builder clone()
Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest.Builder
Overrides

getCertificateMap()

public String getCertificateMap()

URL of the Certificate Map to associate with this TargetSslProxy. 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 TargetSslProxy. 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 TargetSslProxiesSetCertificateMapRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCertificateMap()

public boolean hasCertificateMap()

URL of the Certificate Map to associate with this TargetSslProxy. 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(TargetSslProxiesSetCertificateMapRequest other)

public TargetSslProxiesSetCertificateMapRequest.Builder mergeFrom(TargetSslProxiesSetCertificateMapRequest other)
Parameter
NameDescription
otherTargetSslProxiesSetCertificateMapRequest
Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetSslProxiesSetCertificateMapRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetSslProxiesSetCertificateMapRequest.Builder
Overrides

setCertificateMap(String value)

public TargetSslProxiesSetCertificateMapRequest.Builder setCertificateMap(String value)

URL of the Certificate Map to associate with this TargetSslProxy. 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
TargetSslProxiesSetCertificateMapRequest.Builder

This builder for chaining.

setCertificateMapBytes(ByteString value)

public TargetSslProxiesSetCertificateMapRequest.Builder setCertificateMapBytes(ByteString value)

URL of the Certificate Map to associate with this TargetSslProxy. 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
TargetSslProxiesSetCertificateMapRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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