- 1.86.0 (latest)
 - 1.85.0
 - 1.84.0
 - 1.83.0
 - 1.82.0
 - 1.80.0
 - 1.78.0
 - 1.77.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.70.0
 - 1.69.0
 - 1.68.0
 - 1.67.0
 - 1.66.0
 - 1.65.0
 - 1.64.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.49.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.37.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.25.0
 - 1.24.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.1
 - 1.11.0
 - 1.9.1
 - 1.8.1
 - 1.7.2
 - 1.6.0-beta
 
public static final class Rule.Builder extends GeneratedMessageV3.Builder<Rule.Builder> implements RuleOrBuilderThis is deprecated and has no effect. Do not use.
 Protobuf type google.cloud.compute.v1.Rule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Rule.BuilderImplements
RuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllConditions(Iterable<? extends Condition> values)
public Rule.Builder addAllConditions(Iterable<? extends Condition> values)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.compute.v1.Condition> | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addAllIns(Iterable<String> values)
public Rule.Builder addAllIns(Iterable<String> values)This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The ins to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addAllLogConfigs(Iterable<? extends LogConfig> values)
public Rule.Builder addAllLogConfigs(Iterable<? extends LogConfig> values)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.compute.v1.LogConfig> | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addAllNotIns(Iterable<String> values)
public Rule.Builder addAllNotIns(Iterable<String> values)This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The notIns to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addAllPermissions(Iterable<String> values)
public Rule.Builder addAllPermissions(Iterable<String> values)This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The permissions to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addConditions(Condition value)
public Rule.Builder addConditions(Condition value)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Condition | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addConditions(Condition.Builder builderForValue)
public Rule.Builder addConditions(Condition.Builder builderForValue)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Condition.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addConditions(int index, Condition value)
public Rule.Builder addConditions(int index, Condition value)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        Condition | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addConditions(int index, Condition.Builder builderForValue)
public Rule.Builder addConditions(int index, Condition.Builder builderForValue)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        Condition.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addConditionsBuilder()
public Condition.Builder addConditionsBuilder()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Returns | |
|---|---|
| Type | Description | 
Condition.Builder | 
        |
addConditionsBuilder(int index)
public Condition.Builder addConditionsBuilder(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Condition.Builder | 
        |
addIns(String value)
public Rule.Builder addIns(String value)This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe ins to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addInsBytes(ByteString value)
public Rule.Builder addInsBytes(ByteString value)This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the ins to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addLogConfigs(LogConfig value)
public Rule.Builder addLogConfigs(LogConfig value)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        LogConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addLogConfigs(LogConfig.Builder builderForValue)
public Rule.Builder addLogConfigs(LogConfig.Builder builderForValue)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        LogConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addLogConfigs(int index, LogConfig value)
public Rule.Builder addLogConfigs(int index, LogConfig value)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        LogConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addLogConfigs(int index, LogConfig.Builder builderForValue)
public Rule.Builder addLogConfigs(int index, LogConfig.Builder builderForValue)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        LogConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
addLogConfigsBuilder()
public LogConfig.Builder addLogConfigsBuilder()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Returns | |
|---|---|
| Type | Description | 
LogConfig.Builder | 
        |
addLogConfigsBuilder(int index)
public LogConfig.Builder addLogConfigsBuilder(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
LogConfig.Builder | 
        |
addNotIns(String value)
public Rule.Builder addNotIns(String value)This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe notIns to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addNotInsBytes(ByteString value)
public Rule.Builder addNotInsBytes(ByteString value)This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the notIns to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addPermissions(String value)
public Rule.Builder addPermissions(String value)This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe permissions to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addPermissionsBytes(ByteString value)
public Rule.Builder addPermissionsBytes(ByteString value)This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the permissions to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Rule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
build()
public Rule build()| Returns | |
|---|---|
| Type | Description | 
Rule | 
        |
buildPartial()
public Rule buildPartial()| Returns | |
|---|---|
| Type | Description | 
Rule | 
        |
clear()
public Rule.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
clearAction()
public Rule.Builder clearAction()This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.
 optional string action = 187661878;
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
clearConditions()
public Rule.Builder clearConditions()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
clearDescription()
public Rule.Builder clearDescription()This is deprecated and has no effect. Do not use.
 optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Rule.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
clearIns()
public Rule.Builder clearIns()This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
clearLogConfigs()
public Rule.Builder clearLogConfigs()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
clearNotIns()
public Rule.Builder clearNotIns()This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Rule.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
clearPermissions()
public Rule.Builder clearPermissions()This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
clone()
public Rule.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
getAction()
public String getAction()This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.
 optional string action = 187661878;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The action.  | 
      
getActionBytes()
public ByteString getActionBytes()This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.
 optional string action = 187661878;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for action.  | 
      
getConditions(int index)
public Condition getConditions(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Condition | 
        |
getConditionsBuilder(int index)
public Condition.Builder getConditionsBuilder(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Condition.Builder | 
        |
getConditionsBuilderList()
public List<Condition.Builder> getConditionsBuilderList()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getConditionsCount()
public int getConditionsCount()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getConditionsList()
public List<Condition> getConditionsList()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Returns | |
|---|---|
| Type | Description | 
List<Condition> | 
        |
getConditionsOrBuilder(int index)
public ConditionOrBuilder getConditionsOrBuilder(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ConditionOrBuilder | 
        |
getConditionsOrBuilderList()
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.compute.v1.ConditionOrBuilder> | 
        |
getDefaultInstanceForType()
public Rule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Rule | 
        |
getDescription()
public String getDescription()This is deprecated and has no effect. Do not use.
 optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()This is deprecated and has no effect. Do not use.
 optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getIns(int index)
public String getIns(int index)This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The ins at the given index.  | 
      
getInsBytes(int index)
public ByteString getInsBytes(int index)This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the ins at the given index.  | 
      
getInsCount()
public int getInsCount()This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of ins.  | 
      
getInsList()
public ProtocolStringList getInsList()This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the ins.  | 
      
getLogConfigs(int index)
public LogConfig getLogConfigs(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
LogConfig | 
        |
getLogConfigsBuilder(int index)
public LogConfig.Builder getLogConfigsBuilder(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
LogConfig.Builder | 
        |
getLogConfigsBuilderList()
public List<LogConfig.Builder> getLogConfigsBuilderList()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getLogConfigsCount()
public int getLogConfigsCount()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getLogConfigsList()
public List<LogConfig> getLogConfigsList()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Returns | |
|---|---|
| Type | Description | 
List<LogConfig> | 
        |
getLogConfigsOrBuilder(int index)
public LogConfigOrBuilder getLogConfigsOrBuilder(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
LogConfigOrBuilder | 
        |
getLogConfigsOrBuilderList()
public List<? extends LogConfigOrBuilder> getLogConfigsOrBuilderList()This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.compute.v1.LogConfigOrBuilder> | 
        |
getNotIns(int index)
public String getNotIns(int index)This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The notIns at the given index.  | 
      
getNotInsBytes(int index)
public ByteString getNotInsBytes(int index)This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the notIns at the given index.  | 
      
getNotInsCount()
public int getNotInsCount()This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of notIns.  | 
      
getNotInsList()
public ProtocolStringList getNotInsList()This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the notIns.  | 
      
getPermissions(int index)
public String getPermissions(int index)This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The permissions at the given index.  | 
      
getPermissionsBytes(int index)
public ByteString getPermissionsBytes(int index)This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the permissions at the given index.  | 
      
getPermissionsCount()
public int getPermissionsCount()This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of permissions.  | 
      
getPermissionsList()
public ProtocolStringList getPermissionsList()This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the permissions.  | 
      
hasAction()
public boolean hasAction()This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.
 optional string action = 187661878;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the action field is set.  | 
      
hasDescription()
public boolean hasDescription()This is deprecated and has no effect. Do not use.
 optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the description field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(Rule other)
public Rule.Builder mergeFrom(Rule other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Rule | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Rule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Rule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Rule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
removeConditions(int index)
public Rule.Builder removeConditions(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
removeLogConfigs(int index)
public Rule.Builder removeLogConfigs(int index)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
setAction(String value)
public Rule.Builder setAction(String value)This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.
 optional string action = 187661878;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe action to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
setActionBytes(ByteString value)
public Rule.Builder setActionBytes(ByteString value)This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.
 optional string action = 187661878;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for action to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
setConditions(int index, Condition value)
public Rule.Builder setConditions(int index, Condition value)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        Condition | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
setConditions(int index, Condition.Builder builderForValue)
public Rule.Builder setConditions(int index, Condition.Builder builderForValue)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.Condition conditions = 142882488;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        Condition.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
setDescription(String value)
public Rule.Builder setDescription(String value)This is deprecated and has no effect. Do not use.
 optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Rule.Builder setDescriptionBytes(ByteString value)This is deprecated and has no effect. Do not use.
 optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Rule.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
setIns(int index, String value)
public Rule.Builder setIns(int index, String value)This is deprecated and has no effect. Do not use.
 repeated string ins = 104430;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe ins to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
setLogConfigs(int index, LogConfig value)
public Rule.Builder setLogConfigs(int index, LogConfig value)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        LogConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
setLogConfigs(int index, LogConfig.Builder builderForValue)
public Rule.Builder setLogConfigs(int index, LogConfig.Builder builderForValue)This is deprecated and has no effect. Do not use.
 repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        LogConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
setNotIns(int index, String value)
public Rule.Builder setNotIns(int index, String value)This is deprecated and has no effect. Do not use.
 repeated string not_ins = 518443138;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe notIns to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
setPermissions(int index, String value)
public Rule.Builder setPermissions(int index, String value)This is deprecated and has no effect. Do not use.
 repeated string permissions = 59962500;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe permissions to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Rule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final Rule.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Rule.Builder | 
        |