Class SubnetworksScopedWarning.Builder (1.74.0)

public static final class SubnetworksScopedWarning.Builder extends GeneratedMessageV3.Builder<SubnetworksScopedWarning.Builder> implements SubnetworksScopedWarningOrBuilder

Protobuf type google.cloud.compute.v1.SubnetworksScopedWarning

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksScopedWarning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides

build()

public SubnetworksScopedWarning build()
Returns
Type Description
SubnetworksScopedWarning

buildPartial()

public SubnetworksScopedWarning buildPartial()
Returns
Type Description
SubnetworksScopedWarning

clear()

public SubnetworksScopedWarning.Builder clear()
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubnetworksScopedWarning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubnetworksScopedWarning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides

clearScopeName()

public SubnetworksScopedWarning.Builder clearScopeName()

Name of the scope containing this set of Subnetworks.

optional string scope_name = 345557398;

Returns
Type Description
SubnetworksScopedWarning.Builder

This builder for chaining.

clearWarning()

public SubnetworksScopedWarning.Builder clearWarning()

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
SubnetworksScopedWarning.Builder

clone()

public SubnetworksScopedWarning.Builder clone()
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides

getDefaultInstanceForType()

public SubnetworksScopedWarning getDefaultInstanceForType()
Returns
Type Description
SubnetworksScopedWarning

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getScopeName()

public String getScopeName()

Name of the scope containing this set of Subnetworks.

optional string scope_name = 345557398;

Returns
Type Description
String

The scopeName.

getScopeNameBytes()

public ByteString getScopeNameBytes()

Name of the scope containing this set of Subnetworks.

optional string scope_name = 345557398;

Returns
Type Description
ByteString

The bytes for scopeName.

getWarning()

public Warning getWarning()

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasScopeName()

public boolean hasScopeName()

Name of the scope containing this set of Subnetworks.

optional string scope_name = 345557398;

Returns
Type Description
boolean

Whether the scopeName field is set.

hasWarning()

public boolean hasWarning()

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubnetworksScopedWarning other)

public SubnetworksScopedWarning.Builder mergeFrom(SubnetworksScopedWarning other)
Parameter
Name Description
other SubnetworksScopedWarning
Returns
Type Description
SubnetworksScopedWarning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubnetworksScopedWarning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public SubnetworksScopedWarning.Builder mergeWarning(Warning value)

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
SubnetworksScopedWarning.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksScopedWarning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides

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

public SubnetworksScopedWarning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubnetworksScopedWarning.Builder
Overrides

setScopeName(String value)

public SubnetworksScopedWarning.Builder setScopeName(String value)

Name of the scope containing this set of Subnetworks.

optional string scope_name = 345557398;

Parameter
Name Description
value String

The scopeName to set.

Returns
Type Description
SubnetworksScopedWarning.Builder

This builder for chaining.

setScopeNameBytes(ByteString value)

public SubnetworksScopedWarning.Builder setScopeNameBytes(ByteString value)

Name of the scope containing this set of Subnetworks.

optional string scope_name = 345557398;

Parameter
Name Description
value ByteString

The bytes for scopeName to set.

Returns
Type Description
SubnetworksScopedWarning.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public SubnetworksScopedWarning.Builder setWarning(Warning value)

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
SubnetworksScopedWarning.Builder

setWarning(Warning.Builder builderForValue)

public SubnetworksScopedWarning.Builder setWarning(Warning.Builder builderForValue)

An informational warning about unreachable scope

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
SubnetworksScopedWarning.Builder