public static final class GetCloudControlRequest.Builder extends GeneratedMessage.Builder<GetCloudControlRequest.Builder> implements GetCloudControlRequestOrBuilderThe request message for [GetCloudControl][].
Protobuf type google.cloud.cloudsecuritycompliance.v1.GetCloudControlRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetCloudControlRequest.BuilderImplements
GetCloudControlRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetCloudControlRequest build()| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest |
|
buildPartial()
public GetCloudControlRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest |
|
clear()
public GetCloudControlRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest.Builder |
|
clearMajorRevisionId()
public GetCloudControlRequest.Builder clearMajorRevisionId() Optional. The major version of the cloud control 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 |
GetCloudControlRequest.Builder |
This builder for chaining. |
clearName()
public GetCloudControlRequest.Builder clearName() Required. The name of the cloud control to retrieve, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetCloudControlRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMajorRevisionId()
public long getMajorRevisionId() Optional. The major version of the cloud control 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 cloud control to retrieve, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control}.
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 cloud control to retrieve, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control}.
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(GetCloudControlRequest other)
public GetCloudControlRequest.Builder mergeFrom(GetCloudControlRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetCloudControlRequest |
| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetCloudControlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetCloudControlRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetCloudControlRequest.Builder |
|
setMajorRevisionId(long value)
public GetCloudControlRequest.Builder setMajorRevisionId(long value) Optional. The major version of the cloud control 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 |
GetCloudControlRequest.Builder |
This builder for chaining. |
setName(String value)
public GetCloudControlRequest.Builder setName(String value) Required. The name of the cloud control to retrieve, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control}.
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 |
GetCloudControlRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetCloudControlRequest.Builder setNameBytes(ByteString value) Required. The name of the cloud control to retrieve, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud_control}.
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 |
GetCloudControlRequest.Builder |
This builder for chaining. |