public static final class FrameworkReference.Builder extends GeneratedMessage.Builder<FrameworkReference.Builder> implements FrameworkReferenceOrBuilder The reference of a framework, in the format
organizations/{organization}/locations/{location}/frameworks/{framework}.
The only supported location is global.
Protobuf type google.cloud.cloudsecuritycompliance.v1.FrameworkReference
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FrameworkReference.BuilderImplements
FrameworkReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FrameworkReference build()| Returns | |
|---|---|
| Type | Description |
FrameworkReference |
|
buildPartial()
public FrameworkReference buildPartial()| Returns | |
|---|---|
| Type | Description |
FrameworkReference |
|
clear()
public FrameworkReference.Builder clear()| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
|
clearFramework()
public FrameworkReference.Builder clearFramework()Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
string framework = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
This builder for chaining. |
clearMajorRevisionId()
public FrameworkReference.Builder clearMajorRevisionId()Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FrameworkReference getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FrameworkReference |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFramework()
public String getFramework()Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
string framework = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The framework. |
getFrameworkBytes()
public ByteString getFrameworkBytes()Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
string framework = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for framework. |
getMajorRevisionId()
public long getMajorRevisionId()Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The majorRevisionId. |
hasMajorRevisionId()
public boolean hasMajorRevisionId()Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the majorRevisionId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FrameworkReference other)
public FrameworkReference.Builder mergeFrom(FrameworkReference other)| Parameter | |
|---|---|
| Name | Description |
other |
FrameworkReference |
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FrameworkReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FrameworkReference.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
|
setFramework(String value)
public FrameworkReference.Builder setFramework(String value)Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
string framework = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe framework to set. |
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
This builder for chaining. |
setFrameworkBytes(ByteString value)
public FrameworkReference.Builder setFrameworkBytes(ByteString value)Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
string framework = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for framework to set. |
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
This builder for chaining. |
setMajorRevisionId(long value)
public FrameworkReference.Builder setMajorRevisionId(long value)Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.
optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe majorRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
FrameworkReference.Builder |
This builder for chaining. |