Class GetRegionTargetHttpProxyRequest.Builder (1.25.0)

public static final class GetRegionTargetHttpProxyRequest.Builder extends GeneratedMessageV3.Builder<GetRegionTargetHttpProxyRequest.Builder> implements GetRegionTargetHttpProxyRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionTargetHttpProxyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionTargetHttpProxyRequest build()
Returns
TypeDescription
GetRegionTargetHttpProxyRequest

buildPartial()

public GetRegionTargetHttpProxyRequest buildPartial()
Returns
TypeDescription
GetRegionTargetHttpProxyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionTargetHttpProxyRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetRegionTargetHttpProxyRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionTargetHttpProxyRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetRegionTargetHttpProxyRequest.Builder

This builder for chaining.

clearTargetHttpProxy()

public GetRegionTargetHttpProxyRequest.Builder clearTargetHttpProxy()

Name of the TargetHttpProxy resource to return.

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

Returns
TypeDescription
GetRegionTargetHttpProxyRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionTargetHttpProxyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionTargetHttpProxyRequest

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.

getRegion()

public String getRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for region.

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(GetRegionTargetHttpProxyRequest other)

public GetRegionTargetHttpProxyRequest.Builder mergeFrom(GetRegionTargetHttpProxyRequest other)
Parameter
NameDescription
otherGetRegionTargetHttpProxyRequest
Returns
TypeDescription
GetRegionTargetHttpProxyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setRegion(String value)

public GetRegionTargetHttpProxyRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The region to set.

Returns
TypeDescription
GetRegionTargetHttpProxyRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionTargetHttpProxyRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
GetRegionTargetHttpProxyRequest.Builder

This builder for chaining.

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

public GetRegionTargetHttpProxyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetRegionTargetHttpProxyRequest.Builder
Overrides

setTargetHttpProxy(String value)

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

This builder for chaining.

setTargetHttpProxyBytes(ByteString value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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