Class GetTargetHttpProxyRequest.Builder (1.65.0)

public static final class GetTargetHttpProxyRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetTargetHttpProxyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetTargetHttpProxyRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GetTargetHttpProxyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetTargetHttpProxyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTargetHttpProxyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetHttpProxyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTargetHttpProxyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetTargetHttpProxyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetTargetHttpProxyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetTargetHttpProxyRequest.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetHttpProxyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTargetHttpProxyRequest.Builder
Overrides