public static final class GetPostureRequest.Builder extends GeneratedMessage.Builder<GetPostureRequest.Builder> implements GetPostureRequestOrBuilderMessage for getting a Posture.
Protobuf type google.cloud.securityposture.v1.GetPostureRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetPostureRequest.BuilderImplements
GetPostureRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetPostureRequest build()| Returns | |
|---|---|
| Type | Description |
GetPostureRequest |
|
buildPartial()
public GetPostureRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetPostureRequest |
|
clear()
public GetPostureRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
|
clearName()
public GetPostureRequest.Builder clearName()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
This builder for chaining. |
clearRevisionId()
public GetPostureRequest.Builder clearRevisionId()Optional. Posture revision which needs to be retrieved.
string revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetPostureRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetPostureRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRevisionId()
public String getRevisionId()Optional. Posture revision which needs to be retrieved.
string revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The revisionId. |
getRevisionIdBytes()
public ByteString getRevisionIdBytes()Optional. Posture revision which needs to be retrieved.
string revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for revisionId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetPostureRequest other)
public GetPostureRequest.Builder mergeFrom(GetPostureRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetPostureRequest |
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetPostureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetPostureRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
|
setName(String value)
public GetPostureRequest.Builder setName(String value)Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetPostureRequest.Builder setNameBytes(ByteString value)Required. Name of the resource.
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 |
GetPostureRequest.Builder |
This builder for chaining. |
setRevisionId(String value)
public GetPostureRequest.Builder setRevisionId(String value)Optional. Posture revision which needs to be retrieved.
string revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe revisionId to set. |
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
This builder for chaining. |
setRevisionIdBytes(ByteString value)
public GetPostureRequest.Builder setRevisionIdBytes(ByteString value)Optional. Posture revision which needs to be retrieved.
string revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for revisionId to set. |
| Returns | |
|---|---|
| Type | Description |
GetPostureRequest.Builder |
This builder for chaining. |