Class SslPolicyReference.Builder (1.56.0)

public static final class SslPolicyReference.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SslPolicyReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SslPolicyReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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