Class GetNetworkProfileRequest.Builder (1.93.0)

public static final class GetNetworkProfileRequest.Builder extends GeneratedMessage.Builder<GetNetworkProfileRequest.Builder> implements GetNetworkProfileRequestOrBuilder

A request message for NetworkProfiles.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetNetworkProfileRequest

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for project to set.

Returns
Type Description
GetNetworkProfileRequest.Builder

This builder for chaining.