Class HybridSubnetInfo.Builder (1.84.0)

public static final class HybridSubnetInfo.Builder extends GeneratedMessage.Builder<HybridSubnetInfo.Builder> implements HybridSubnetInfoOrBuilder

For display only. Metadata associated with a hybrid subnet.

Protobuf type google.cloud.networkmanagement.v1.HybridSubnetInfo

Static Methods

getDescriptor()

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

Methods

build()

public HybridSubnetInfo build()
Returns
Type Description
HybridSubnetInfo

buildPartial()

public HybridSubnetInfo buildPartial()
Returns
Type Description
HybridSubnetInfo

clear()

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

clearDisplayName()

public HybridSubnetInfo.Builder clearDisplayName()

Name of a hybrid subnet.

string display_name = 1;

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

clearRegion()

public HybridSubnetInfo.Builder clearRegion()

Name of a Google Cloud region where the hybrid subnet is configured.

string region = 3;

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

clearUri()

public HybridSubnetInfo.Builder clearUri()

URI of a hybrid subnet.

string uri = 2;

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public HybridSubnetInfo getDefaultInstanceForType()
Returns
Type Description
HybridSubnetInfo

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Name of a hybrid subnet.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a hybrid subnet.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getRegion()

public String getRegion()

Name of a Google Cloud region where the hybrid subnet is configured.

string region = 3;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of a Google Cloud region where the hybrid subnet is configured.

string region = 3;

Returns
Type Description
ByteString

The bytes for region.

getUri()

public String getUri()

URI of a hybrid subnet.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a hybrid subnet.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HybridSubnetInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDisplayName(String value)

public HybridSubnetInfo.Builder setDisplayName(String value)

Name of a hybrid subnet.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public HybridSubnetInfo.Builder setDisplayNameBytes(ByteString value)

Name of a hybrid subnet.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

setRegion(String value)

public HybridSubnetInfo.Builder setRegion(String value)

Name of a Google Cloud region where the hybrid subnet is configured.

string region = 3;

Parameter
Name Description
value String

The region to set.

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public HybridSubnetInfo.Builder setRegionBytes(ByteString value)

Name of a Google Cloud region where the hybrid subnet is configured.

string region = 3;

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

setUri(String value)

public HybridSubnetInfo.Builder setUri(String value)

URI of a hybrid subnet.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public HybridSubnetInfo.Builder setUriBytes(ByteString value)

URI of a hybrid subnet.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
HybridSubnetInfo.Builder

This builder for chaining.