Class Rule.Builder (1.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Condition>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The ins to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.LogConfig>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The notIns to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The permissions to add.

Returns
TypeDescription
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
NameDescription
valueCondition
Returns
TypeDescription
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
NameDescription
builderForValueCondition.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCondition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCondition.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The ins to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the ins to add.

Returns
TypeDescription
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
NameDescription
valueLogConfig
Returns
TypeDescription
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
NameDescription
builderForValueLogConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLogConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The notIns to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the notIns to add.

Returns
TypeDescription
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
NameDescription
valueString

The permissions to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the permissions to add.

Returns
TypeDescription
Rule.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Rule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Rule.Builder
Overrides

build()

public Rule build()
Returns
TypeDescription
Rule

buildPartial()

public Rule buildPartial()
Returns
TypeDescription
Rule

clear()

public Rule.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Rule.Builder

clearDescription()

public Rule.Builder clearDescription()

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

optional string description = 422937596;

Returns
TypeDescription
Rule.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Rule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Rule.Builder
Overrides

clearIns()

public Rule.Builder clearIns()

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

repeated string ins = 104430;

Returns
TypeDescription
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
TypeDescription
Rule.Builder

clearNotIns()

public Rule.Builder clearNotIns()

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

repeated string not_ins = 518443138;

Returns
TypeDescription
Rule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Rule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Rule.Builder
Overrides

clearPermissions()

public Rule.Builder clearPermissions()

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

repeated string permissions = 59962500;

Returns
TypeDescription
Rule.Builder

This builder for chaining.

clone()

public Rule.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.ConditionOrBuilder>

getDefaultInstanceForType()

public Rule getDefaultInstanceForType()
Returns
TypeDescription
Rule

getDescription()

public String getDescription()

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

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of ins.

getInsList()

public ProtocolStringList getInsList()

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

repeated string ins = 104430;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of permissions.

getPermissionsList()

public ProtocolStringList getPermissionsList()

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

repeated string permissions = 59962500;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the description field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Rule other)

public Rule.Builder mergeFrom(Rule other)
Parameter
NameDescription
otherRule
Returns
TypeDescription
Rule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Rule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Rule.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Rule.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Rule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Rule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The action to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for action to set.

Returns
TypeDescription
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
NameDescription
indexint
valueCondition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCondition.Builder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Rule.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Rule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The ins to set.

Returns
TypeDescription
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
NameDescription
indexint
valueLogConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The notIns to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The permissions to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Rule.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Rule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Rule.Builder
Overrides