Class GrpcEndpoint.Builder (0.67.0)

publicstaticfinalclass GrpcEndpoint.BuilderextendsGeneratedMessageV3.Builder<GrpcEndpoint.Builder>implementsGrpcEndpointOrBuilder

Specification of the GRPC Endpoint.

Protobuf type google.cloud.networksecurity.v1beta1.GrpcEndpoint

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicGrpcEndpoint.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GrpcEndpoint.Builder
Overrides

build()

publicGrpcEndpointbuild()
Returns
Type Description
GrpcEndpoint

buildPartial()

publicGrpcEndpointbuildPartial()
Returns
Type Description
GrpcEndpoint

clear()

publicGrpcEndpoint.Builderclear()
Returns
Type Description
GrpcEndpoint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicGrpcEndpoint.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GrpcEndpoint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicGrpcEndpoint.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GrpcEndpoint.Builder
Overrides

clearTargetUri()

publicGrpcEndpoint.BuilderclearTargetUri()

Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".

string target_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GrpcEndpoint.Builder

This builder for chaining.

clone()

publicGrpcEndpoint.Builderclone()
Returns
Type Description
GrpcEndpoint.Builder
Overrides

getDefaultInstanceForType()

publicGrpcEndpointgetDefaultInstanceForType()
Returns
Type Description
GrpcEndpoint

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTargetUri()

publicStringgetTargetUri()

Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".

string target_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetUri.

getTargetUriBytes()

publicByteStringgetTargetUriBytes()

Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".

string target_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetUri.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GrpcEndpoint other)

publicGrpcEndpoint.BuildermergeFrom(GrpcEndpointother)
Parameter
Name Description
other GrpcEndpoint
Returns
Type Description
GrpcEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicGrpcEndpoint.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GrpcEndpoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicGrpcEndpoint.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
GrpcEndpoint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalGrpcEndpoint.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GrpcEndpoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicGrpcEndpoint.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GrpcEndpoint.Builder
Overrides

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

publicGrpcEndpoint.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GrpcEndpoint.Builder
Overrides

setTargetUri(String value)

publicGrpcEndpoint.BuildersetTargetUri(Stringvalue)

Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".

string target_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The targetUri to set.

Returns
Type Description
GrpcEndpoint.Builder

This builder for chaining.

setTargetUriBytes(ByteString value)

publicGrpcEndpoint.BuildersetTargetUriBytes(ByteStringvalue)

Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".

string target_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for targetUri to set.

Returns
Type Description
GrpcEndpoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalGrpcEndpoint.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GrpcEndpoint.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.