Class GetTargetHttpProxyRequest.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetTargetHttpProxyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides

build()

public GetTargetHttpProxyRequest build()
Returns
TypeDescription
GetTargetHttpProxyRequest

buildPartial()

public GetTargetHttpProxyRequest buildPartial()
Returns
TypeDescription
GetTargetHttpProxyRequest

clear()

public GetTargetHttpProxyRequest.Builder clear()
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetTargetHttpProxyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTargetHttpProxyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides

clearProject()

public GetTargetHttpProxyRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetTargetHttpProxyRequest.Builder

This builder for chaining.

clone()

public GetTargetHttpProxyRequest.Builder clone()
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides

getDefaultInstanceForType()

public GetTargetHttpProxyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetTargetHttpProxyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for targetHttpProxy.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetTargetHttpProxyRequest other)

public GetTargetHttpProxyRequest.Builder mergeFrom(GetTargetHttpProxyRequest other)
Parameter
NameDescription
otherGetTargetHttpProxyRequest
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetTargetHttpProxyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetTargetHttpProxyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetHttpProxyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetTargetHttpProxyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The targetHttpProxy to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for targetHttpProxy to set.

Returns
TypeDescription
GetTargetHttpProxyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetHttpProxyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetTargetHttpProxyRequest.Builder
Overrides