public static final class ExportSBOMRequest.Builder extends GeneratedMessage.Builder<ExportSBOMRequest.Builder> implements ExportSBOMRequestOrBuilderThe request to generate and export SBOM. Target must be specified for the request.
Protobuf type google.devtools.containeranalysis.v1.ExportSBOMRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportSBOMRequest.BuilderImplements
ExportSBOMRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExportSBOMRequest build()| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest |
|
buildPartial()
public ExportSBOMRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest |
|
clear()
public ExportSBOMRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
clearCloudStorageLocation()
public ExportSBOMRequest.Builder clearCloudStorageLocation()Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
clearName()
public ExportSBOMRequest.Builder clearName() Required. The name of the resource in the form of
projects/[PROJECT_ID]/resources/[RESOURCE_URL].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
This builder for chaining. |
clearTarget()
public ExportSBOMRequest.Builder clearTarget()| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
getCloudStorageLocation()
public ExportSBOMRequest.CloudStorageLocation getCloudStorageLocation()Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.CloudStorageLocation |
The cloudStorageLocation. |
getCloudStorageLocationBuilder()
public ExportSBOMRequest.CloudStorageLocation.Builder getCloudStorageLocationBuilder()Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.CloudStorageLocation.Builder |
|
getCloudStorageLocationOrBuilder()
public ExportSBOMRequest.CloudStorageLocationOrBuilder getCloudStorageLocationOrBuilder()Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.CloudStorageLocationOrBuilder |
|
getDefaultInstanceForType()
public ExportSBOMRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The name of the resource in the form of
projects/[PROJECT_ID]/resources/[RESOURCE_URL].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the resource in the form of
projects/[PROJECT_ID]/resources/[RESOURCE_URL].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTargetCase()
public ExportSBOMRequest.TargetCase getTargetCase()| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.TargetCase |
|
hasCloudStorageLocation()
public boolean hasCloudStorageLocation()Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cloudStorageLocation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCloudStorageLocation(ExportSBOMRequest.CloudStorageLocation value)
public ExportSBOMRequest.Builder mergeCloudStorageLocation(ExportSBOMRequest.CloudStorageLocation value)Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ExportSBOMRequest.CloudStorageLocation |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
mergeFrom(ExportSBOMRequest other)
public ExportSBOMRequest.Builder mergeFrom(ExportSBOMRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportSBOMRequest |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportSBOMRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportSBOMRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
setCloudStorageLocation(ExportSBOMRequest.CloudStorageLocation value)
public ExportSBOMRequest.Builder setCloudStorageLocation(ExportSBOMRequest.CloudStorageLocation value)Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ExportSBOMRequest.CloudStorageLocation |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
setCloudStorageLocation(ExportSBOMRequest.CloudStorageLocation.Builder builderForValue)
public ExportSBOMRequest.Builder setCloudStorageLocation(ExportSBOMRequest.CloudStorageLocation.Builder builderForValue)Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.
.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ExportSBOMRequest.CloudStorageLocation.Builder |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
|
setName(String value)
public ExportSBOMRequest.Builder setName(String value) Required. The name of the resource in the form of
projects/[PROJECT_ID]/resources/[RESOURCE_URL].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ExportSBOMRequest.Builder setNameBytes(ByteString value) Required. The name of the resource in the form of
projects/[PROJECT_ID]/resources/[RESOURCE_URL].
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ExportSBOMRequest.Builder |
This builder for chaining. |