public static final class NetworkProfileLocation.Builder extends GeneratedMessage.Builder<NetworkProfileLocation.Builder> implements NetworkProfileLocationOrBuilder Protobuf type google.cloud.compute.v1.NetworkProfileLocation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NetworkProfileLocation.BuilderImplements
NetworkProfileLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NetworkProfileLocation build()| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation |
|
buildPartial()
public NetworkProfileLocation buildPartial()| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation |
|
clear()
public NetworkProfileLocation.Builder clear()| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
|
clearName()
public NetworkProfileLocation.Builder clearName()optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
This builder for chaining. |
clearScope()
public NetworkProfileLocation.Builder clearScope()Check the Scope enum for the list of possible values.
optional string scope = 109264468;
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NetworkProfileLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getScope()
public String getScope()Check the Scope enum for the list of possible values.
optional string scope = 109264468;
| Returns | |
|---|---|
| Type | Description |
String |
The scope. |
getScopeBytes()
public ByteString getScopeBytes()Check the Scope enum for the list of possible values.
optional string scope = 109264468;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scope. |
hasName()
public boolean hasName()optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasScope()
public boolean hasScope()Check the Scope enum for the list of possible values.
optional string scope = 109264468;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scope field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NetworkProfileLocation other)
public NetworkProfileLocation.Builder mergeFrom(NetworkProfileLocation other)| Parameter | |
|---|---|
| Name | Description |
other |
NetworkProfileLocation |
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkProfileLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NetworkProfileLocation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
|
setName(String value)
public NetworkProfileLocation.Builder setName(String value)optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public NetworkProfileLocation.Builder setNameBytes(ByteString value)optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
This builder for chaining. |
setScope(String value)
public NetworkProfileLocation.Builder setScope(String value)Check the Scope enum for the list of possible values.
optional string scope = 109264468;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scope to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
This builder for chaining. |
setScopeBytes(ByteString value)
public NetworkProfileLocation.Builder setScopeBytes(ByteString value)Check the Scope enum for the list of possible values.
optional string scope = 109264468;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scope to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkProfileLocation.Builder |
This builder for chaining. |