public static final class GetFrameworkRequest.Builder extends GeneratedMessage.Builder<GetFrameworkRequest.Builder> implements GetFrameworkRequestOrBuilderThe request message for [GetFramework][].
Protobuf type google.cloud.cloudsecuritycompliance.v1.GetFrameworkRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetFrameworkRequest.BuilderImplements
GetFrameworkRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetFrameworkRequest build()| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest |
|
buildPartial()
public GetFrameworkRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest |
|
clear()
public GetFrameworkRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
|
clearMajorRevisionId()
public GetFrameworkRequest.Builder clearMajorRevisionId() Optional. The framework major version to retrieve. If not specified, the
most recently updated revision_id is retrieved.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
This builder for chaining. |
clearName()
public GetFrameworkRequest.Builder clearName() Required. The name of the framework to retrieve, in the format
organizations/{organization}/locations/{location}/frameworks/{framework_id}
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetFrameworkRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMajorRevisionId()
public long getMajorRevisionId() Optional. The framework major version to retrieve. If not specified, the
most recently updated revision_id is retrieved.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The majorRevisionId. |
getName()
public String getName() Required. The name of the framework to retrieve, in the format
organizations/{organization}/locations/{location}/frameworks/{framework_id}
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the framework to retrieve, in the format
organizations/{organization}/locations/{location}/frameworks/{framework_id}
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetFrameworkRequest other)
public GetFrameworkRequest.Builder mergeFrom(GetFrameworkRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetFrameworkRequest |
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetFrameworkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetFrameworkRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
|
setMajorRevisionId(long value)
public GetFrameworkRequest.Builder setMajorRevisionId(long value) Optional. The framework major version to retrieve. If not specified, the
most recently updated revision_id is retrieved.
int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe majorRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
This builder for chaining. |
setName(String value)
public GetFrameworkRequest.Builder setName(String value) Required. The name of the framework to retrieve, in the format
organizations/{organization}/locations/{location}/frameworks/{framework_id}
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetFrameworkRequest.Builder setNameBytes(ByteString value) Required. The name of the framework to retrieve, in the format
organizations/{organization}/locations/{location}/frameworks/{framework_id}
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetFrameworkRequest.Builder |
This builder for chaining. |