Class SslPolicyReference.Builder (1.93.0)

public static final class SslPolicyReference.Builder extends GeneratedMessage.Builder<SslPolicyReference.Builder> implements SslPolicyReferenceOrBuilder

Protobuf type google.cloud.compute.v1.SslPolicyReference

Static Methods

getDescriptor()

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

Methods

build()

public SslPolicyReference build()
Returns
Type Description
SslPolicyReference

buildPartial()

public SslPolicyReference buildPartial()
Returns
Type Description
SslPolicyReference

clear()

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

clearSslPolicy()

public SslPolicyReference.Builder clearSslPolicy()

URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.

optional string ssl_policy = 295190213;

Returns
Type Description
SslPolicyReference.Builder

This builder for chaining.

getDefaultInstanceForType()

public SslPolicyReference getDefaultInstanceForType()
Returns
Type Description
SslPolicyReference

getDescriptorForType()

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

getSslPolicy()

public String getSslPolicy()

URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.

optional string ssl_policy = 295190213;

Returns
Type Description
String

The sslPolicy.

getSslPolicyBytes()

public ByteString getSslPolicyBytes()

URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.

optional string ssl_policy = 295190213;

Returns
Type Description
ByteString

The bytes for sslPolicy.

hasSslPolicy()

public boolean hasSslPolicy()

URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.

optional string ssl_policy = 295190213;

Returns
Type Description
boolean

Whether the sslPolicy field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SslPolicyReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setSslPolicy(String value)

public SslPolicyReference.Builder setSslPolicy(String value)

URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.

optional string ssl_policy = 295190213;

Parameter
Name Description
value String

The sslPolicy to set.

Returns
Type Description
SslPolicyReference.Builder

This builder for chaining.

setSslPolicyBytes(ByteString value)

public SslPolicyReference.Builder setSslPolicyBytes(ByteString value)

URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.

optional string ssl_policy = 295190213;

Parameter
Name Description
value ByteString

The bytes for sslPolicy to set.

Returns
Type Description
SslPolicyReference.Builder

This builder for chaining.