Class CreateFrameworkAuditRequest (0.7.0)

public final class CreateFrameworkAuditRequest extends GeneratedMessageV3 implements CreateFrameworkAuditRequestOrBuilder

The request message for [CreateFrameworkAudit][].

Protobuf type google.cloud.cloudsecuritycompliance.v1.CreateFrameworkAuditRequest

Static Fields

FRAMEWORK_AUDIT_FIELD_NUMBER

public static final int FRAMEWORK_AUDIT_FIELD_NUMBER
Field Value
Type Description
int

FRAMEWORK_AUDIT_ID_FIELD_NUMBER

public static final int FRAMEWORK_AUDIT_ID_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateFrameworkAuditRequest getDefaultInstance()
Returns
Type Description
CreateFrameworkAuditRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateFrameworkAuditRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateFrameworkAuditRequest getDefaultInstanceForType()
Returns
Type Description
CreateFrameworkAuditRequest

getFrameworkAudit()

public FrameworkAudit getFrameworkAudit()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkAudit

The frameworkAudit.

getFrameworkAuditId()

public String getFrameworkAuditId()

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \a-z-\.

string framework_audit_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The frameworkAuditId.

getFrameworkAuditIdBytes()

public ByteString getFrameworkAuditIdBytes()

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \a-z-\.

string framework_audit_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for frameworkAuditId.

getFrameworkAuditOrBuilder()

public FrameworkAuditOrBuilder getFrameworkAuditOrBuilder()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkAuditOrBuilder

getParent()

public String getParent()

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFrameworkAudit()

public boolean hasFrameworkAudit()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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