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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetTargetHttpProxyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetTargetHttpProxyRequest build()
Returns
buildPartial()
public GetTargetHttpProxyRequest buildPartial()
Returns
clear()
public GetTargetHttpProxyRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetTargetHttpProxyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetTargetHttpProxyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetTargetHttpProxyRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clearTargetHttpProxy()
public GetTargetHttpProxyRequest.Builder clearTargetHttpProxy()
Name of the TargetHttpProxy resource to return.
string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetTargetHttpProxyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetTargetHttpProxyRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetTargetHttpProxyRequest other)
public GetTargetHttpProxyRequest.Builder mergeFrom(GetTargetHttpProxyRequest other)
Parameter
Returns
public GetTargetHttpProxyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetTargetHttpProxyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetTargetHttpProxyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetTargetHttpProxyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetTargetHttpProxyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final GetTargetHttpProxyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides