Class SslPolicyReference (1.54.0)

public final class SslPolicyReference extends GeneratedMessageV3 implements SslPolicyReferenceOrBuilder

Protobuf type google.cloud.compute.v1.SslPolicyReference

Static Fields

SSL_POLICY_FIELD_NUMBER

public static final int SSL_POLICY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SslPolicyReference getDefaultInstance()
Returns
Type Description
SslPolicyReference

getDescriptor()

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

newBuilder()

public static SslPolicyReference.Builder newBuilder()
Returns
Type Description
SslPolicyReference.Builder

newBuilder(SslPolicyReference prototype)

public static SslPolicyReference.Builder newBuilder(SslPolicyReference prototype)
Parameter
Name Description
prototype SslPolicyReference
Returns
Type Description
SslPolicyReference.Builder

parseDelimitedFrom(InputStream input)

public static SslPolicyReference parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SslPolicyReference parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SslPolicyReference parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SslPolicyReference parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SslPolicyReference parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SslPolicyReference parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslPolicyReference
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SslPolicyReference> parser()
Returns
Type Description
Parser<SslPolicyReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SslPolicyReference getDefaultInstanceForType()
Returns
Type Description
SslPolicyReference

getParserForType()

public Parser<SslPolicyReference> getParserForType()
Returns
Type Description
Parser<SslPolicyReference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SslPolicyReference.Builder newBuilderForType()
Returns
Type Description
SslPolicyReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SslPolicyReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SslPolicyReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SslPolicyReference.Builder toBuilder()
Returns
Type Description
SslPolicyReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException