public final class AlternatePolicySpec extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LAUNCH_FIELD_NUMBER
public static final int LAUNCH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SPEC_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AlternatePolicySpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AlternatePolicySpec.Builder newBuilder()
newBuilder(AlternatePolicySpec prototype)
public static AlternatePolicySpec.Builder newBuilder(AlternatePolicySpec prototype)
public static AlternatePolicySpec parseDelimitedFrom(InputStream input)
public static AlternatePolicySpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AlternatePolicySpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AlternatePolicySpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AlternatePolicySpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AlternatePolicySpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AlternatePolicySpec parseFrom(CodedInputStream input)
public static AlternatePolicySpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AlternatePolicySpec parseFrom(InputStream input)
public static AlternatePolicySpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AlternatePolicySpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AlternatePolicySpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AlternatePolicySpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AlternatePolicySpec getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<AlternatePolicySpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSpec()
public PolicySpec getSpec()
Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
getSpecOrBuilder()
public PolicySpecOrBuilder getSpecOrBuilder()
Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AlternatePolicySpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AlternatePolicySpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AlternatePolicySpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides