public static final class CreateFrameworkRequest.Builder extends GeneratedMessage.Builder<CreateFrameworkRequest.Builder> implements CreateFrameworkRequestOrBuilderThe request message for [CreateFramework][].
Protobuf type google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateFrameworkRequest.BuilderImplements
CreateFrameworkRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateFrameworkRequest build()| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest |
|
buildPartial()
public CreateFrameworkRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest |
|
clear()
public CreateFrameworkRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
clearFramework()
public CreateFrameworkRequest.Builder clearFramework()Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
clearFrameworkId()
public CreateFrameworkRequest.Builder clearFrameworkId()Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.
string framework_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
This builder for chaining. |
clearParent()
public CreateFrameworkRequest.Builder clearParent() Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateFrameworkRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFramework()
public Framework getFramework()Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Framework |
The framework. |
getFrameworkBuilder()
public Framework.Builder getFrameworkBuilder()Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Framework.Builder |
|
getFrameworkId()
public String getFrameworkId()Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.
string framework_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The frameworkId. |
getFrameworkIdBytes()
public ByteString getFrameworkIdBytes()Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.
string framework_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for frameworkId. |
getFrameworkOrBuilder()
public FrameworkOrBuilder getFrameworkOrBuilder()Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FrameworkOrBuilder |
|
getParent()
public String getParent() Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
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 name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasFramework()
public boolean hasFramework()Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the framework field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFramework(Framework value)
public CreateFrameworkRequest.Builder mergeFramework(Framework value)Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Framework |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
mergeFrom(CreateFrameworkRequest other)
public CreateFrameworkRequest.Builder mergeFrom(CreateFrameworkRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateFrameworkRequest |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateFrameworkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateFrameworkRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
setFramework(Framework value)
public CreateFrameworkRequest.Builder setFramework(Framework value)Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Framework |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
setFramework(Framework.Builder builderForValue)
public CreateFrameworkRequest.Builder setFramework(Framework.Builder builderForValue)Required. The resource being created.
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Framework.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
|
setFrameworkId(String value)
public CreateFrameworkRequest.Builder setFrameworkId(String value)Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.
string framework_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe frameworkId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
This builder for chaining. |
setFrameworkIdBytes(ByteString value)
public CreateFrameworkRequest.Builder setFrameworkIdBytes(ByteString value)Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.
string framework_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for frameworkId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateFrameworkRequest.Builder setParent(String value) Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateFrameworkRequest.Builder setParentBytes(ByteString value) Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest.Builder |
This builder for chaining. |