public static final class GetNetworkProfileRequest.Builder extends GeneratedMessage.Builder<GetNetworkProfileRequest.Builder> implements GetNetworkProfileRequestOrBuilderA request message for NetworkProfiles.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkProfileRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetNetworkProfileRequest.BuilderImplements
GetNetworkProfileRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetNetworkProfileRequest build()| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest |
|
buildPartial()
public GetNetworkProfileRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest |
|
clear()
public GetNetworkProfileRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
|
clearNetworkProfile()
public GetNetworkProfileRequest.Builder clearNetworkProfile()Name of the network profile to return.
string network_profile = 173112472 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
This builder for chaining. |
clearProject()
public GetNetworkProfileRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetNetworkProfileRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNetworkProfile()
public String getNetworkProfile()Name of the network profile to return.
string network_profile = 173112472 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The networkProfile. |
getNetworkProfileBytes()
public ByteString getNetworkProfileBytes()Name of the network profile to return.
string network_profile = 173112472 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkProfile. |
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetNetworkProfileRequest other)
public GetNetworkProfileRequest.Builder mergeFrom(GetNetworkProfileRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetNetworkProfileRequest |
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetNetworkProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetNetworkProfileRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
|
setNetworkProfile(String value)
public GetNetworkProfileRequest.Builder setNetworkProfile(String value)Name of the network profile to return.
string network_profile = 173112472 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkProfile to set. |
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
This builder for chaining. |
setNetworkProfileBytes(ByteString value)
public GetNetworkProfileRequest.Builder setNetworkProfileBytes(ByteString value)Name of the network profile to return.
string network_profile = 173112472 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkProfile to set. |
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetNetworkProfileRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetNetworkProfileRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetNetworkProfileRequest.Builder |
This builder for chaining. |