Class GetTargetHttpProxyRequest.Builder (1.93.0)

public static final class GetTargetHttpProxyRequest.Builder extends GeneratedMessage.Builder<GetTargetHttpProxyRequest.Builder> implements GetTargetHttpProxyRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetTargetHttpProxyRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetTargetHttpProxyRequest build()
Returns
Type Description
GetTargetHttpProxyRequest

buildPartial()

public GetTargetHttpProxyRequest buildPartial()
Returns
Type Description
GetTargetHttpProxyRequest

clear()

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

clearProject()

public GetTargetHttpProxyRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetTargetHttpProxyRequest.Builder

This builder for chaining.

clearTargetHttpProxy()

public GetTargetHttpProxyRequest.Builder clearTargetHttpProxy()

Name of the TargetHttpProxy resource to return.

string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetTargetHttpProxyRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetTargetHttpProxyRequest getDefaultInstanceForType()
Returns
Type Description
GetTargetHttpProxyRequest

getDescriptorForType()

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

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.

getTargetHttpProxy()

public String getTargetHttpProxy()

Name of the TargetHttpProxy resource to return.

string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetHttpProxy.

getTargetHttpProxyBytes()

public ByteString getTargetHttpProxyBytes()

Name of the TargetHttpProxy resource to return.

string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetHttpProxy.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetTargetHttpProxyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setProject(String value)

public GetTargetHttpProxyRequest.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
GetTargetHttpProxyRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetTargetHttpProxyRequest.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
GetTargetHttpProxyRequest.Builder

This builder for chaining.

setTargetHttpProxy(String value)

public GetTargetHttpProxyRequest.Builder setTargetHttpProxy(String value)

Name of the TargetHttpProxy resource to return.

string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The targetHttpProxy to set.

Returns
Type Description
GetTargetHttpProxyRequest.Builder

This builder for chaining.

setTargetHttpProxyBytes(ByteString value)

public GetTargetHttpProxyRequest.Builder setTargetHttpProxyBytes(ByteString value)

Name of the TargetHttpProxy resource to return.

string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for targetHttpProxy to set.

Returns
Type Description
GetTargetHttpProxyRequest.Builder

This builder for chaining.