Class GetTargetGrpcProxyRequest.Builder (1.55.0)

public static final class GetTargetGrpcProxyRequest.Builder extends GeneratedMessageV3.Builder<GetTargetGrpcProxyRequest.Builder> implements GetTargetGrpcProxyRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetTargetGrpcProxyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetTargetGrpcProxyRequest build()
Returns
Type Description
GetTargetGrpcProxyRequest

buildPartial()

public GetTargetGrpcProxyRequest buildPartial()
Returns
Type Description
GetTargetGrpcProxyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTargetGrpcProxyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetTargetGrpcProxyRequest.Builder
Overrides

clearProject()

public GetTargetGrpcProxyRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetTargetGrpcProxyRequest.Builder

This builder for chaining.

clearTargetGrpcProxy()

public GetTargetGrpcProxyRequest.Builder clearTargetGrpcProxy()

Name of the TargetGrpcProxy resource to return.

string target_grpc_proxy = 5020283 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetTargetGrpcProxyRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetTargetGrpcProxyRequest getDefaultInstanceForType()
Returns
Type Description
GetTargetGrpcProxyRequest

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.

getTargetGrpcProxy()

public String getTargetGrpcProxy()

Name of the TargetGrpcProxy resource to return.

string target_grpc_proxy = 5020283 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetGrpcProxy.

getTargetGrpcProxyBytes()

public ByteString getTargetGrpcProxyBytes()

Name of the TargetGrpcProxy resource to return.

string target_grpc_proxy = 5020283 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetGrpcProxy.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetTargetGrpcProxyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

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

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

setTargetGrpcProxy(String value)

public GetTargetGrpcProxyRequest.Builder setTargetGrpcProxy(String value)

Name of the TargetGrpcProxy resource to return.

string target_grpc_proxy = 5020283 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The targetGrpcProxy to set.

Returns
Type Description
GetTargetGrpcProxyRequest.Builder

This builder for chaining.

setTargetGrpcProxyBytes(ByteString value)

public GetTargetGrpcProxyRequest.Builder setTargetGrpcProxyBytes(ByteString value)

Name of the TargetGrpcProxy resource to return.

string target_grpc_proxy = 5020283 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for targetGrpcProxy to set.

Returns
Type Description
GetTargetGrpcProxyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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