Class SslPolicyReference.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SslPolicyReference build()
Returns
TypeDescription
SslPolicyReference

buildPartial()

public SslPolicyReference buildPartial()
Returns
TypeDescription
SslPolicyReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SslPolicyReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SslPolicyReference.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SslPolicyReference getDefaultInstanceForType()
Returns
TypeDescription
SslPolicyReference

getDescriptorForType()

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

Whether the sslPolicy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SslPolicyReference other)

public SslPolicyReference.Builder mergeFrom(SslPolicyReference other)
Parameter
NameDescription
otherSslPolicyReference
Returns
TypeDescription
SslPolicyReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SslPolicyReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sslPolicy to set.

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

The bytes for sslPolicy to set.

Returns
TypeDescription
SslPolicyReference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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