- 2.54.0 (latest)
- 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 GeneratedMessageV3.Builder<AlternatePolicySpec.Builder> implements AlternatePolicySpecOrBuilder
Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run/darklaunch.
Protobuf type google.cloud.orgpolicy.v2.AlternatePolicySpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AlternatePolicySpec.BuilderImplements
AlternatePolicySpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlternatePolicySpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AlternatePolicySpec.Builder |
build()
public AlternatePolicySpec build()
Type | Description |
AlternatePolicySpec |
buildPartial()
public AlternatePolicySpec buildPartial()
Type | Description |
AlternatePolicySpec |
clear()
public AlternatePolicySpec.Builder clear()
Type | Description |
AlternatePolicySpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public AlternatePolicySpec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
AlternatePolicySpec.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AlternatePolicySpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AlternatePolicySpec.Builder |
clearSpec()
public AlternatePolicySpec.Builder clearSpec()
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Type | Description |
AlternatePolicySpec.Builder |
clone()
public AlternatePolicySpec.Builder clone()
Type | Description |
AlternatePolicySpec.Builder |
getDefaultInstanceForType()
public AlternatePolicySpec getDefaultInstanceForType()
Type | Description |
AlternatePolicySpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
Type | Description |
ByteString | The bytes for launch. |
getSpec()
public PolicySpec getSpec()
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Type | Description |
PolicySpec | The spec. |
getSpecBuilder()
public PolicySpec.Builder getSpecBuilder()
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Type | Description |
PolicySpec.Builder |
getSpecOrBuilder()
public PolicySpecOrBuilder getSpecOrBuilder()
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Type | Description |
PolicySpecOrBuilder |
hasSpec()
public boolean hasSpec()
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Type | Description |
boolean | Whether the spec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AlternatePolicySpec other)
public AlternatePolicySpec.Builder mergeFrom(AlternatePolicySpec other)
Name | Description |
other | AlternatePolicySpec |
Type | Description |
AlternatePolicySpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AlternatePolicySpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AlternatePolicySpec.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AlternatePolicySpec.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AlternatePolicySpec.Builder |
mergeSpec(PolicySpec value)
public AlternatePolicySpec.Builder mergeSpec(PolicySpec value)
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Name | Description |
value | PolicySpec |
Type | Description |
AlternatePolicySpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlternatePolicySpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AlternatePolicySpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AlternatePolicySpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | String The launch to set. |
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;
Name | Description |
value | ByteString The bytes for launch to set. |
Type | Description |
AlternatePolicySpec.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlternatePolicySpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AlternatePolicySpec.Builder |
setSpec(PolicySpec value)
public AlternatePolicySpec.Builder setSpec(PolicySpec value)
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Name | Description |
value | PolicySpec |
Type | Description |
AlternatePolicySpec.Builder |
setSpec(PolicySpec.Builder builderForValue)
public AlternatePolicySpec.Builder setSpec(PolicySpec.Builder builderForValue)
Specify Constraint
for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
Name | Description |
builderForValue | PolicySpec.Builder |
Type | Description |
AlternatePolicySpec.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AlternatePolicySpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AlternatePolicySpec.Builder |