Class GetTargetGrpcProxyRequest.Builder (1.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetTargetGrpcProxyRequest build()
Returns
TypeDescription
GetTargetGrpcProxyRequest

buildPartial()

public GetTargetGrpcProxyRequest buildPartial()
Returns
TypeDescription
GetTargetGrpcProxyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetTargetGrpcProxyRequest.Builder clearProject()

Project ID for this request.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetTargetGrpcProxyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetTargetGrpcProxyRequest

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.

getTargetGrpcProxy()

public String getTargetGrpcProxy()

Name of the TargetGrpcProxy resource to return.

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

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

The bytes for targetGrpcProxy.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetTargetGrpcProxyRequest other)

public GetTargetGrpcProxyRequest.Builder mergeFrom(GetTargetGrpcProxyRequest other)
Parameter
NameDescription
otherGetTargetGrpcProxyRequest
Returns
TypeDescription
GetTargetGrpcProxyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

The targetGrpcProxy to set.

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

The bytes for targetGrpcProxy to set.

Returns
TypeDescription
GetTargetGrpcProxyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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