- 3.55.0 (latest)
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public static final class AnalyzerOrgPolicy.Rule.StringValues.Builder extends GeneratedMessageV3.Builder<AnalyzerOrgPolicy.Rule.StringValues.Builder> implements AnalyzerOrgPolicy.Rule.StringValuesOrBuilder
The string values for the list constraints.
Protobuf type google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzerOrgPolicy.Rule.StringValues.BuilderImplements
AnalyzerOrgPolicy.Rule.StringValuesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAllowedValues(Iterable<String> values)
public AnalyzerOrgPolicy.Rule.StringValues.Builder addAllAllowedValues(Iterable<String> values)
List of values allowed at this resource.
repeated string allowed_values = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The allowedValues to add. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
addAllDeniedValues(Iterable<String> values)
public AnalyzerOrgPolicy.Rule.StringValues.Builder addAllDeniedValues(Iterable<String> values)
List of values denied at this resource.
repeated string denied_values = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The deniedValues to add. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
addAllowedValues(String value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder addAllowedValues(String value)
List of values allowed at this resource.
repeated string allowed_values = 1;
Parameter | |
---|---|
Name | Description |
value |
String The allowedValues to add. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
addAllowedValuesBytes(ByteString value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder addAllowedValuesBytes(ByteString value)
List of values allowed at this resource.
repeated string allowed_values = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the allowedValues to add. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
addDeniedValues(String value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder addDeniedValues(String value)
List of values denied at this resource.
repeated string denied_values = 2;
Parameter | |
---|---|
Name | Description |
value |
String The deniedValues to add. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
addDeniedValuesBytes(ByteString value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder addDeniedValuesBytes(ByteString value)
List of values denied at this resource.
repeated string denied_values = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the deniedValues to add. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
build()
public AnalyzerOrgPolicy.Rule.StringValues build()
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues |
buildPartial()
public AnalyzerOrgPolicy.Rule.StringValues buildPartial()
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues |
clear()
public AnalyzerOrgPolicy.Rule.StringValues.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
clearAllowedValues()
public AnalyzerOrgPolicy.Rule.StringValues.Builder clearAllowedValues()
List of values allowed at this resource.
repeated string allowed_values = 1;
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
clearDeniedValues()
public AnalyzerOrgPolicy.Rule.StringValues.Builder clearDeniedValues()
List of values denied at this resource.
repeated string denied_values = 2;
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalyzerOrgPolicy.Rule.StringValues.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzerOrgPolicy.Rule.StringValues.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
clone()
public AnalyzerOrgPolicy.Rule.StringValues.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
getAllowedValues(int index)
public String getAllowedValues(int index)
List of values allowed at this resource.
repeated string allowed_values = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The allowedValues at the given index. |
getAllowedValuesBytes(int index)
public ByteString getAllowedValuesBytes(int index)
List of values allowed at this resource.
repeated string allowed_values = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the allowedValues at the given index. |
getAllowedValuesCount()
public int getAllowedValuesCount()
List of values allowed at this resource.
repeated string allowed_values = 1;
Returns | |
---|---|
Type | Description |
int |
The count of allowedValues. |
getAllowedValuesList()
public ProtocolStringList getAllowedValuesList()
List of values allowed at this resource.
repeated string allowed_values = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the allowedValues. |
getDefaultInstanceForType()
public AnalyzerOrgPolicy.Rule.StringValues getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues |
getDeniedValues(int index)
public String getDeniedValues(int index)
List of values denied at this resource.
repeated string denied_values = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The deniedValues at the given index. |
getDeniedValuesBytes(int index)
public ByteString getDeniedValuesBytes(int index)
List of values denied at this resource.
repeated string denied_values = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the deniedValues at the given index. |
getDeniedValuesCount()
public int getDeniedValuesCount()
List of values denied at this resource.
repeated string denied_values = 2;
Returns | |
---|---|
Type | Description |
int |
The count of deniedValues. |
getDeniedValuesList()
public ProtocolStringList getDeniedValuesList()
List of values denied at this resource.
repeated string denied_values = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the deniedValues. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnalyzerOrgPolicy.Rule.StringValues other)
public AnalyzerOrgPolicy.Rule.StringValues.Builder mergeFrom(AnalyzerOrgPolicy.Rule.StringValues other)
Parameter | |
---|---|
Name | Description |
other |
AnalyzerOrgPolicy.Rule.StringValues |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzerOrgPolicy.Rule.StringValues.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzerOrgPolicy.Rule.StringValues.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicy.Rule.StringValues.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
setAllowedValues(int index, String value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder setAllowedValues(int index, String value)
List of values allowed at this resource.
repeated string allowed_values = 1;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The allowedValues to set. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
setDeniedValues(int index, String value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder setDeniedValues(int index, String value)
List of values denied at this resource.
repeated string denied_values = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The deniedValues to set. |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzerOrgPolicy.Rule.StringValues.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicy.Rule.StringValues.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |