Class SubnetworksScopedWarning.Builder (1.93.0)

public static final class SubnetworksScopedWarning.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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.

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