Class Condition.Builder (1.50.0)

public static final class Condition.Builder extends GeneratedMessageV3.Builder<Condition.Builder> implements ConditionOrBuilder

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

Protobuf type google.cloud.compute.v1.Condition

Implements

ConditionOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllValues(Iterable<String> values)

public Condition.Builder addAllValues(Iterable<String> values)

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

repeated string values = 249928994;

Parameter
NameDescription
valuesIterable<String>

The values to add.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(String value)

public Condition.Builder addValues(String value)

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

repeated string values = 249928994;

Parameter
NameDescription
valueString

The values to add.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

addValuesBytes(ByteString value)

public Condition.Builder addValuesBytes(ByteString value)

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

repeated string values = 249928994;

Parameter
NameDescription
valueByteString

The bytes of the values to add.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

build()

public Condition build()
Returns
TypeDescription
Condition

buildPartial()

public Condition buildPartial()
Returns
TypeDescription
Condition

clear()

public Condition.Builder clear()
Returns
TypeDescription
Condition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIam()

public Condition.Builder clearIam()

This is deprecated and has no effect. Do not use. Check the Iam enum for the list of possible values.

optional string iam = 104021;

Returns
TypeDescription
Condition.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOp()

public Condition.Builder clearOp()

This is deprecated and has no effect. Do not use. Check the Op enum for the list of possible values.

optional string op = 3553;

Returns
TypeDescription
Condition.Builder

This builder for chaining.

clearSvc()

public Condition.Builder clearSvc()

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

optional string svc = 114272;

Returns
TypeDescription
Condition.Builder

This builder for chaining.

clearSys()

public Condition.Builder clearSys()

This is deprecated and has no effect. Do not use. Check the Sys enum for the list of possible values.

optional string sys = 114381;

Returns
TypeDescription
Condition.Builder

This builder for chaining.

clearValues()

public Condition.Builder clearValues()

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

repeated string values = 249928994;

Returns
TypeDescription
Condition.Builder

This builder for chaining.

clone()

public Condition.Builder clone()
Returns
TypeDescription
Condition.Builder
Overrides

getDefaultInstanceForType()

public Condition getDefaultInstanceForType()
Returns
TypeDescription
Condition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIam()

public String getIam()

This is deprecated and has no effect. Do not use. Check the Iam enum for the list of possible values.

optional string iam = 104021;

Returns
TypeDescription
String

The iam.

getIamBytes()

public ByteString getIamBytes()

This is deprecated and has no effect. Do not use. Check the Iam enum for the list of possible values.

optional string iam = 104021;

Returns
TypeDescription
ByteString

The bytes for iam.

getOp()

public String getOp()

This is deprecated and has no effect. Do not use. Check the Op enum for the list of possible values.

optional string op = 3553;

Returns
TypeDescription
String

The op.

getOpBytes()

public ByteString getOpBytes()

This is deprecated and has no effect. Do not use. Check the Op enum for the list of possible values.

optional string op = 3553;

Returns
TypeDescription
ByteString

The bytes for op.

getSvc()

public String getSvc()

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

optional string svc = 114272;

Returns
TypeDescription
String

The svc.

getSvcBytes()

public ByteString getSvcBytes()

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

optional string svc = 114272;

Returns
TypeDescription
ByteString

The bytes for svc.

getSys()

public String getSys()

This is deprecated and has no effect. Do not use. Check the Sys enum for the list of possible values.

optional string sys = 114381;

Returns
TypeDescription
String

The sys.

getSysBytes()

public ByteString getSysBytes()

This is deprecated and has no effect. Do not use. Check the Sys enum for the list of possible values.

optional string sys = 114381;

Returns
TypeDescription
ByteString

The bytes for sys.

getValues(int index)

public String getValues(int index)

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

repeated string values = 249928994;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The values at the given index.

getValuesBytes(int index)

public ByteString getValuesBytes(int index)

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

repeated string values = 249928994;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the values at the given index.

getValuesCount()

public int getValuesCount()

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

repeated string values = 249928994;

Returns
TypeDescription
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

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

repeated string values = 249928994;

Returns
TypeDescription
ProtocolStringList

A list containing the values.

hasIam()

public boolean hasIam()

This is deprecated and has no effect. Do not use. Check the Iam enum for the list of possible values.

optional string iam = 104021;

Returns
TypeDescription
boolean

Whether the iam field is set.

hasOp()

public boolean hasOp()

This is deprecated and has no effect. Do not use. Check the Op enum for the list of possible values.

optional string op = 3553;

Returns
TypeDescription
boolean

Whether the op field is set.

hasSvc()

public boolean hasSvc()

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

optional string svc = 114272;

Returns
TypeDescription
boolean

Whether the svc field is set.

hasSys()

public boolean hasSys()

This is deprecated and has no effect. Do not use. Check the Sys enum for the list of possible values.

optional string sys = 114381;

Returns
TypeDescription
boolean

Whether the sys field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Condition other)

public Condition.Builder mergeFrom(Condition other)
Parameter
NameDescription
otherCondition
Returns
TypeDescription
Condition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Condition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Condition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIam(String value)

public Condition.Builder setIam(String value)

This is deprecated and has no effect. Do not use. Check the Iam enum for the list of possible values.

optional string iam = 104021;

Parameter
NameDescription
valueString

The iam to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setIamBytes(ByteString value)

public Condition.Builder setIamBytes(ByteString value)

This is deprecated and has no effect. Do not use. Check the Iam enum for the list of possible values.

optional string iam = 104021;

Parameter
NameDescription
valueByteString

The bytes for iam to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setOp(String value)

public Condition.Builder setOp(String value)

This is deprecated and has no effect. Do not use. Check the Op enum for the list of possible values.

optional string op = 3553;

Parameter
NameDescription
valueString

The op to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setOpBytes(ByteString value)

public Condition.Builder setOpBytes(ByteString value)

This is deprecated and has no effect. Do not use. Check the Op enum for the list of possible values.

optional string op = 3553;

Parameter
NameDescription
valueByteString

The bytes for op to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Condition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Condition.Builder
Overrides

setSvc(String value)

public Condition.Builder setSvc(String value)

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

optional string svc = 114272;

Parameter
NameDescription
valueString

The svc to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setSvcBytes(ByteString value)

public Condition.Builder setSvcBytes(ByteString value)

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

optional string svc = 114272;

Parameter
NameDescription
valueByteString

The bytes for svc to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setSys(String value)

public Condition.Builder setSys(String value)

This is deprecated and has no effect. Do not use. Check the Sys enum for the list of possible values.

optional string sys = 114381;

Parameter
NameDescription
valueString

The sys to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setSysBytes(ByteString value)

public Condition.Builder setSysBytes(ByteString value)

This is deprecated and has no effect. Do not use. Check the Sys enum for the list of possible values.

optional string sys = 114381;

Parameter
NameDescription
valueByteString

The bytes for sys to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, String value)

public Condition.Builder setValues(int index, String value)

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

repeated string values = 249928994;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The values to set.

Returns
TypeDescription
Condition.Builder

This builder for chaining.