- 2.83.0 (latest)
- 2.82.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7-SNAPSHOT
- 2.2.1
- 2.1.2
- 2.0.10
public static final class AlternatePolicySpec.Builder extends GeneratedMessage.Builder<AlternatePolicySpec.Builder> implements AlternatePolicySpecOrBuilderSimilar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run.
Protobuf type google.cloud.orgpolicy.v2.AlternatePolicySpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AlternatePolicySpec.BuilderImplements
AlternatePolicySpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AlternatePolicySpec build()| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec |
|
buildPartial()
public AlternatePolicySpec buildPartial()| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec |
|
clear()
public AlternatePolicySpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|
clearLaunch()
public AlternatePolicySpec.Builder clearLaunch()Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
string launch = 1;
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
This builder for chaining. |
clearSpec()
public AlternatePolicySpec.Builder clearSpec()Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|
getDefaultInstanceForType()
public AlternatePolicySpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLaunch()
public String getLaunch()Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
string launch = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The launch. |
getLaunchBytes()
public ByteString getLaunchBytes()Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
string launch = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for launch. |
getSpec()
public PolicySpec getSpec()Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Returns | |
|---|---|
| Type | Description |
PolicySpec |
The spec. |
getSpecBuilder()
public PolicySpec.Builder getSpecBuilder()Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Returns | |
|---|---|
| Type | Description |
PolicySpec.Builder |
|
getSpecOrBuilder()
public PolicySpecOrBuilder getSpecOrBuilder()Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Returns | |
|---|---|
| Type | Description |
PolicySpecOrBuilder |
|
hasSpec()
public boolean hasSpec()Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the spec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AlternatePolicySpec other)
public AlternatePolicySpec.Builder mergeFrom(AlternatePolicySpec other)| Parameter | |
|---|---|
| Name | Description |
other |
AlternatePolicySpec |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AlternatePolicySpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AlternatePolicySpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|
mergeSpec(PolicySpec value)
public AlternatePolicySpec.Builder mergeSpec(PolicySpec value)Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PolicySpec |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|
setLaunch(String value)
public AlternatePolicySpec.Builder setLaunch(String value)Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
string launch = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe launch to set. |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
This builder for chaining. |
setLaunchBytes(ByteString value)
public AlternatePolicySpec.Builder setLaunchBytes(ByteString value)Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
string launch = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for launch to set. |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
This builder for chaining. |
setSpec(PolicySpec value)
public AlternatePolicySpec.Builder setSpec(PolicySpec value)Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PolicySpec |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|
setSpec(PolicySpec.Builder builderForValue)
public AlternatePolicySpec.Builder setSpec(PolicySpec.Builder builderForValue)Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PolicySpec.Builder |
| Returns | |
|---|---|
| Type | Description |
AlternatePolicySpec.Builder |
|