- 2.62.0 (latest)
- 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 Constraint.CustomConstraintDefinition.Parameter.Builder extends GeneratedMessageV3.Builder<Constraint.CustomConstraintDefinition.Parameter.Builder> implements Constraint.CustomConstraintDefinition.ParameterOrBuilder
Defines a parameter structure.
Protobuf type
google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Constraint.CustomConstraintDefinition.Parameter.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Constraint.CustomConstraintDefinition.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
build()
public Constraint.CustomConstraintDefinition.Parameter build()
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter |
buildPartial()
public Constraint.CustomConstraintDefinition.Parameter buildPartial()
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter |
clear()
public Constraint.CustomConstraintDefinition.Parameter.Builder clear()
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
clearDefaultValue()
public Constraint.CustomConstraintDefinition.Parameter.Builder clearDefaultValue()
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
clearField(Descriptors.FieldDescriptor field)
public Constraint.CustomConstraintDefinition.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
clearItem()
public Constraint.CustomConstraintDefinition.Parameter.Builder clearItem()
Determines the parameter's value structure.
For example, LIST<STRING>
can be specified by defining type: LIST
,
and item: STRING
.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
clearMetadata()
public Constraint.CustomConstraintDefinition.Parameter.Builder clearMetadata()
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Constraint.CustomConstraintDefinition.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
clearType()
public Constraint.CustomConstraintDefinition.Parameter.Builder clearType()
Type of the parameter.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
clearValidValuesExpr()
public Constraint.CustomConstraintDefinition.Parameter.Builder clearValidValuesExpr()
Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
string valid_values_expr = 3;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
clone()
public Constraint.CustomConstraintDefinition.Parameter.Builder clone()
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
getDefaultInstanceForType()
public Constraint.CustomConstraintDefinition.Parameter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter |
getDefaultValue()
public Value getDefaultValue()
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Returns | |
---|---|
Type | Description |
Value |
The defaultValue. |
getDefaultValueBuilder()
public Value.Builder getDefaultValueBuilder()
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Returns | |
---|---|
Type | Description |
Builder |
getDefaultValueOrBuilder()
public ValueOrBuilder getDefaultValueOrBuilder()
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getItem()
public Constraint.CustomConstraintDefinition.Parameter.Type getItem()
Determines the parameter's value structure.
For example, LIST<STRING>
can be specified by defining type: LIST
,
and item: STRING
.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Type |
The item. |
getItemValue()
public int getItemValue()
Determines the parameter's value structure.
For example, LIST<STRING>
can be specified by defining type: LIST
,
and item: STRING
.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for item. |
getMetadata()
public Constraint.CustomConstraintDefinition.Parameter.Metadata getMetadata()
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Metadata |
The metadata. |
getMetadataBuilder()
public Constraint.CustomConstraintDefinition.Parameter.Metadata.Builder getMetadataBuilder()
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Metadata.Builder |
getMetadataOrBuilder()
public Constraint.CustomConstraintDefinition.Parameter.MetadataOrBuilder getMetadataOrBuilder()
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.MetadataOrBuilder |
getType()
public Constraint.CustomConstraintDefinition.Parameter.Type getType()
Type of the parameter.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Type |
The type. |
getTypeValue()
public int getTypeValue()
Type of the parameter.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
getValidValuesExpr()
public String getValidValuesExpr()
Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
string valid_values_expr = 3;
Returns | |
---|---|
Type | Description |
String |
The validValuesExpr. |
getValidValuesExprBytes()
public ByteString getValidValuesExprBytes()
Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
string valid_values_expr = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for validValuesExpr. |
hasDefaultValue()
public boolean hasDefaultValue()
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the defaultValue field is set. |
hasMetadata()
public boolean hasMetadata()
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDefaultValue(Value value)
public Constraint.CustomConstraintDefinition.Parameter.Builder mergeDefaultValue(Value value)
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Parameter | |
---|---|
Name | Description |
value |
Value |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
mergeFrom(Constraint.CustomConstraintDefinition.Parameter other)
public Constraint.CustomConstraintDefinition.Parameter.Builder mergeFrom(Constraint.CustomConstraintDefinition.Parameter other)
Parameter | |
---|---|
Name | Description |
other |
Constraint.CustomConstraintDefinition.Parameter |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Constraint.CustomConstraintDefinition.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Constraint.CustomConstraintDefinition.Parameter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
mergeMetadata(Constraint.CustomConstraintDefinition.Parameter.Metadata value)
public Constraint.CustomConstraintDefinition.Parameter.Builder mergeMetadata(Constraint.CustomConstraintDefinition.Parameter.Metadata value)
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Parameter | |
---|---|
Name | Description |
value |
Constraint.CustomConstraintDefinition.Parameter.Metadata |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Constraint.CustomConstraintDefinition.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setDefaultValue(Value value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setDefaultValue(Value value)
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Parameter | |
---|---|
Name | Description |
value |
Value |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setDefaultValue(Value.Builder builderForValue)
public Constraint.CustomConstraintDefinition.Parameter.Builder setDefaultValue(Value.Builder builderForValue)
Sets the value of the parameter in an assignment if no value is given.
.google.protobuf.Value default_value = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setItem(Constraint.CustomConstraintDefinition.Parameter.Type value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setItem(Constraint.CustomConstraintDefinition.Parameter.Type value)
Determines the parameter's value structure.
For example, LIST<STRING>
can be specified by defining type: LIST
,
and item: STRING
.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
Parameter | |
---|---|
Name | Description |
value |
Constraint.CustomConstraintDefinition.Parameter.Type The item to set. |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
setItemValue(int value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setItemValue(int value)
Determines the parameter's value structure.
For example, LIST<STRING>
can be specified by defining type: LIST
,
and item: STRING
.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for item to set. |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
setMetadata(Constraint.CustomConstraintDefinition.Parameter.Metadata value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setMetadata(Constraint.CustomConstraintDefinition.Parameter.Metadata value)
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Parameter | |
---|---|
Name | Description |
value |
Constraint.CustomConstraintDefinition.Parameter.Metadata |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setMetadata(Constraint.CustomConstraintDefinition.Parameter.Metadata.Builder builderForValue)
public Constraint.CustomConstraintDefinition.Parameter.Builder setMetadata(Constraint.CustomConstraintDefinition.Parameter.Metadata.Builder builderForValue)
Defines subproperties primarily used by the UI to display user-friendly information.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Constraint.CustomConstraintDefinition.Parameter.Metadata.Builder |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setType(Constraint.CustomConstraintDefinition.Parameter.Type value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setType(Constraint.CustomConstraintDefinition.Parameter.Type value)
Type of the parameter.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
Parameter | |
---|---|
Name | Description |
value |
Constraint.CustomConstraintDefinition.Parameter.Type The type to set. |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
setTypeValue(int value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setTypeValue(int value)
Type of the parameter.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Constraint.CustomConstraintDefinition.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
setValidValuesExpr(String value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setValidValuesExpr(String value)
Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
string valid_values_expr = 3;
Parameter | |
---|---|
Name | Description |
value |
String The validValuesExpr to set. |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |
setValidValuesExprBytes(ByteString value)
public Constraint.CustomConstraintDefinition.Parameter.Builder setValidValuesExprBytes(ByteString value)
Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")
string valid_values_expr = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for validValuesExpr to set. |
Returns | |
---|---|
Type | Description |
Constraint.CustomConstraintDefinition.Parameter.Builder |
This builder for chaining. |