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
Static Methods
getDefaultInstance()
public static GrpcEndpoint getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GrpcEndpoint.Builder newBuilder()
Returns
newBuilder(GrpcEndpoint prototype)
public static GrpcEndpoint.Builder newBuilder(GrpcEndpoint prototype)
Parameter
Returns
public static GrpcEndpoint parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GrpcEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GrpcEndpoint parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GrpcEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GrpcEndpoint parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GrpcEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GrpcEndpoint parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GrpcEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GrpcEndpoint parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GrpcEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GrpcEndpoint parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GrpcEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GrpcEndpoint> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GrpcEndpoint getDefaultInstanceForType()
Returns
getParserForType()
public Parser<GrpcEndpoint> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTargetUri()
public String getTargetUri()
Required. The target URI of the gRPC endpoint. Only UDS path is supported, and
should start with \u201cunix:\u201d.
string target_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The targetUri.
|
getTargetUriBytes()
public ByteString getTargetUriBytes()
Required. The target URI of the gRPC endpoint. Only UDS path is supported, and
should start with \u201cunix:\u201d.
string target_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GrpcEndpoint.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GrpcEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GrpcEndpoint.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions