public static final class HybridSubnetInfo.Builder extends GeneratedMessage.Builder<HybridSubnetInfo.Builder> implements HybridSubnetInfoOrBuilderFor display only. Metadata associated with a hybrid subnet.
Protobuf type google.cloud.networkmanagement.v1.HybridSubnetInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HybridSubnetInfo.BuilderImplements
HybridSubnetInfoOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HybridSubnetInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HybridSubnetInfo.Builder |
|
setDisplayName(String value)
public HybridSubnetInfo.Builder setDisplayName(String value)Name of a hybrid subnet.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
HybridSubnetInfo.Builder |
This builder for chaining. |