Class FrameworkReference (0.1.0)

public final class FrameworkReference extends GeneratedMessageV3 implements FrameworkReferenceOrBuilder

FrameworkReference contains the reference of a framework.

Protobuf type google.cloud.cloudsecuritycompliance.v1.FrameworkReference

Static Fields

FRAMEWORK_FIELD_NUMBER

public static final int FRAMEWORK_FIELD_NUMBER
Field Value
Type Description
int

MAJOR_REVISION_ID_FIELD_NUMBER

public static final int MAJOR_REVISION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FrameworkReference getDefaultInstance()
Returns
Type Description
FrameworkReference

getDescriptor()

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

newBuilder()

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

newBuilder(FrameworkReference prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FrameworkReference getDefaultInstanceForType()
Returns
Type Description
FrameworkReference

getFramework()

public String getFramework()

Required. In the format: organizations/{org}/locations/{location}/frameworks/{framework}

string framework = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The framework.

getFrameworkBytes()

public ByteString getFrameworkBytes()

Required. In the format: organizations/{org}/locations/{location}/frameworks/{framework}

string framework = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for framework.

getMajorRevisionId()

public long getMajorRevisionId()

Optional. Major revision id of the framework. If not specified, corresponds to the latest revision of the framework.

optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The majorRevisionId.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMajorRevisionId()

public boolean hasMajorRevisionId()

Optional. Major revision id of the framework. If not specified, corresponds to the latest revision of the framework.

optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the majorRevisionId 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 FrameworkReference.Builder newBuilderForType()
Returns
Type Description
FrameworkReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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