Class SslPolicyReference (1.16.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SslPolicyReference getDefaultInstance()
Returns
TypeDescription
SslPolicyReference

getDescriptor()

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

newBuilder()

public static SslPolicyReference.Builder newBuilder()
Returns
TypeDescription
SslPolicyReference.Builder

newBuilder(SslPolicyReference prototype)

public static SslPolicyReference.Builder newBuilder(SslPolicyReference prototype)
Parameter
NameDescription
prototypeSslPolicyReference
Returns
TypeDescription
SslPolicyReference.Builder

parseDelimitedFrom(InputStream input)

public static SslPolicyReference parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SslPolicyReference parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SslPolicyReference parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SslPolicyReference parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SslPolicyReference parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SslPolicyReference parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SslPolicyReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SslPolicyReference
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SslPolicyReference> parser()
Returns
TypeDescription
Parser<SslPolicyReference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SslPolicyReference getDefaultInstanceForType()
Returns
TypeDescription
SslPolicyReference

getParserForType()

public Parser<SslPolicyReference> getParserForType()
Returns
TypeDescription
Parser<SslPolicyReference>
Overrides

getSerializedSize()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SslPolicyReference.Builder newBuilderForType()
Returns
TypeDescription
SslPolicyReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SslPolicyReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SslPolicyReference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SslPolicyReference.Builder toBuilder()
Returns
TypeDescription
SslPolicyReference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException