Class GrpcEndpoint (0.30.0)

public final class GrpcEndpoint extends GeneratedMessageV3 implements GrpcEndpointOrBuilder

Specification of the GRPC Endpoint.

Protobuf type google.cloud.networksecurity.v1beta1.GrpcEndpoint

Static Fields

TARGET_URI_FIELD_NUMBER

public static final int TARGET_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GrpcEndpoint getDefaultInstance()
Returns
TypeDescription
GrpcEndpoint

getDescriptor()

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

newBuilder()

public static GrpcEndpoint.Builder newBuilder()
Returns
TypeDescription
GrpcEndpoint.Builder

newBuilder(GrpcEndpoint prototype)

public static GrpcEndpoint.Builder newBuilder(GrpcEndpoint prototype)
Parameter
NameDescription
prototypeGrpcEndpoint
Returns
TypeDescription
GrpcEndpoint.Builder

parseDelimitedFrom(InputStream input)

public static GrpcEndpoint parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GrpcEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GrpcEndpoint parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GrpcEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GrpcEndpoint parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GrpcEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GrpcEndpoint parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GrpcEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GrpcEndpoint parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GrpcEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GrpcEndpoint parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GrpcEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GrpcEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GrpcEndpoint> parser()
Returns
TypeDescription
Parser<GrpcEndpoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GrpcEndpoint getDefaultInstanceForType()
Returns
TypeDescription
GrpcEndpoint

getParserForType()

public Parser<GrpcEndpoint> getParserForType()
Returns
TypeDescription
Parser<GrpcEndpoint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetUri()

public String getTargetUri()

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
TypeDescription
String

The targetUri.

getTargetUriBytes()

public ByteString getTargetUriBytes()

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

The bytes for targetUri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GrpcEndpoint.Builder newBuilderForType()
Returns
TypeDescription
GrpcEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GrpcEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GrpcEndpoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GrpcEndpoint.Builder toBuilder()
Returns
TypeDescription
GrpcEndpoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException