public final class PscAttachmentDetail extends GeneratedMessage implements PscAttachmentDetailOrBuilderConfiguration of a service attachment of the cluster, for creating PSC connections.
Protobuf type google.cloud.memorystore.v1.PscAttachmentDetail
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PscAttachmentDetailImplements
PscAttachmentDetailOrBuilderStatic Fields
CONNECTION_TYPE_FIELD_NUMBER
public static final int CONNECTION_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SERVICE_ATTACHMENT_FIELD_NUMBER
public static final int SERVICE_ATTACHMENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static PscAttachmentDetail getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static PscAttachmentDetail.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail.Builder |
|
newBuilder(PscAttachmentDetail prototype)
public static PscAttachmentDetail.Builder newBuilder(PscAttachmentDetail prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
PscAttachmentDetail |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail.Builder |
|
parseDelimitedFrom(InputStream input)
public static PscAttachmentDetail parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PscAttachmentDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static PscAttachmentDetail parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PscAttachmentDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static PscAttachmentDetail parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PscAttachmentDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static PscAttachmentDetail parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PscAttachmentDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static PscAttachmentDetail parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PscAttachmentDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static PscAttachmentDetail parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PscAttachmentDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<PscAttachmentDetail> parser()| Returns | |
|---|---|
| Type | Description |
Parser<PscAttachmentDetail> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConnectionType()
public ConnectionType getConnectionType()Output only. Type of Psc endpoint.
.google.cloud.memorystore.v1.ConnectionType connection_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ConnectionType |
The connectionType. |
getConnectionTypeValue()
public int getConnectionTypeValue()Output only. Type of Psc endpoint.
.google.cloud.memorystore.v1.ConnectionType connection_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for connectionType. |
getDefaultInstanceForType()
public PscAttachmentDetail getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail |
|
getParserForType()
public Parser<PscAttachmentDetail> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<PscAttachmentDetail> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceAttachment()
public String getServiceAttachment()Output only. Service attachment URI which your self-created PscConnection should use as target.
string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAttachment. |
getServiceAttachmentBytes()
public ByteString getServiceAttachmentBytes()Output only. Service attachment URI which your self-created PscConnection should use as target.
string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAttachment. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public PscAttachmentDetail.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PscAttachmentDetail.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail.Builder |
|
toBuilder()
public PscAttachmentDetail.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PscAttachmentDetail.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|