Class Rule.Builder (1.52.0)

public static final class Rule.Builder extends GeneratedMessageV3.Builder<Rule.Builder> implements RuleOrBuilder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.Rule

Implements

RuleOrBuilder

Static 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

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
Overrides

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
Overrides

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
Overrides

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
Overrides

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
Overrides

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 int

The 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 int

The 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 int

The 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 int

The 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 int

The 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 int

The 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Rule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Rule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Rule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Rule.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

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 int

The index to set the value at.

value String

The 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 int

The index to set the value at.

value String

The 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 int

The index to set the value at.

value String

The 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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Rule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Rule.Builder
Overrides