public static final class InternalServerConfig.AllowedConsumer extends GeneratedMessage implements InternalServerConfig.AllowedConsumerOrBuilderA consumer project or network that is permitted to connect to the server via PSC.
Protobuf type google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > InternalServerConfig.AllowedConsumerStatic Fields
CONNECTION_LIMIT_FIELD_NUMBER
public static final int CONNECTION_LIMIT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static InternalServerConfig.AllowedConsumer getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static InternalServerConfig.AllowedConsumer.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer.Builder |
|
newBuilder(InternalServerConfig.AllowedConsumer prototype)
public static InternalServerConfig.AllowedConsumer.Builder newBuilder(InternalServerConfig.AllowedConsumer prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
InternalServerConfig.AllowedConsumer |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer.Builder |
|
parseDelimitedFrom(InputStream input)
public static InternalServerConfig.AllowedConsumer parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InternalServerConfig.AllowedConsumer parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static InternalServerConfig.AllowedConsumer parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InternalServerConfig.AllowedConsumer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static InternalServerConfig.AllowedConsumer parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InternalServerConfig.AllowedConsumer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static InternalServerConfig.AllowedConsumer parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InternalServerConfig.AllowedConsumer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static InternalServerConfig.AllowedConsumer parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InternalServerConfig.AllowedConsumer parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static InternalServerConfig.AllowedConsumer parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InternalServerConfig.AllowedConsumer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<InternalServerConfig.AllowedConsumer> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AllowedConsumer> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConnectionLimit()
public long getConnectionLimit()Required. The connection limit for the consumer. Value must be greater than 0.
int64 connection_limit = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The connectionLimit. |
getConsumerTypeCase()
public InternalServerConfig.AllowedConsumer.ConsumerTypeCase getConsumerTypeCase()| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer.ConsumerTypeCase |
|
getDefaultInstanceForType()
public InternalServerConfig.AllowedConsumer getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer |
|
getParserForType()
public Parser<InternalServerConfig.AllowedConsumer> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AllowedConsumer> |
|
getProject()
public String getProject() The project ID or number of the consumer project.
Must be in the format: projects/{project}.
string project = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes() The project ID or number of the consumer project.
Must be in the format: projects/{project}.
string project = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasProject()
public boolean hasProject() The project ID or number of the consumer project.
Must be in the format: projects/{project}.
string project = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the project field is set. |
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 InternalServerConfig.AllowedConsumer.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected InternalServerConfig.AllowedConsumer.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer.Builder |
|
toBuilder()
public InternalServerConfig.AllowedConsumer.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
InternalServerConfig.AllowedConsumer.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|