public static final class ServiceConnectionMap.ConsumerPscConfig extends GeneratedMessageV3 implements ServiceConnectionMap.ConsumerPscConfigOrBuilder
Allow the producer to specify which consumers can connect to it.
Protobuf type
google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ServiceConnectionMap.ConsumerPscConfigStatic Fields
DISABLE_GLOBAL_ACCESS_FIELD_NUMBER
public static final int DISABLE_GLOBAL_ACCESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ServiceConnectionMap.ConsumerPscConfig getDefaultInstance()
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ServiceConnectionMap.ConsumerPscConfig.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig.Builder |
newBuilder(ServiceConnectionMap.ConsumerPscConfig prototype)
public static ServiceConnectionMap.ConsumerPscConfig.Builder newBuilder(ServiceConnectionMap.ConsumerPscConfig prototype)
Parameter | |
---|---|
Name | Description |
prototype | ServiceConnectionMap.ConsumerPscConfig |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig.Builder |
parseDelimitedFrom(InputStream input)
public static ServiceConnectionMap.ConsumerPscConfig parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ServiceConnectionMap.ConsumerPscConfig> parser()
Returns | |
---|---|
Type | Description |
Parser<ConsumerPscConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ServiceConnectionMap.ConsumerPscConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig |
getDisableGlobalAccess()
public boolean getDisableGlobalAccess()
This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
bool disable_global_access = 3;
Returns | |
---|---|
Type | Description |
boolean | The disableGlobalAccess. |
getNetwork()
public String getNetwork()
The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
string network = 2;
Returns | |
---|---|
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
string network = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for network. |
getParserForType()
public Parser<ServiceConnectionMap.ConsumerPscConfig> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ConsumerPscConfig> |
getProject()
public String getProject()
The consumer project where PSC connections are allowed to be created in.
string project = 1;
Returns | |
---|---|
Type | Description |
String | The project. |
getProjectBytes()
public ByteString getProjectBytes()
The consumer project where PSC connections are allowed to be created in.
string project = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for project. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getState()
public ServiceConnectionMap.ConsumerPscConfig.State getState()
Output only. Overall state of PSC Connections management for this consumer psc config.
.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4;
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig.State | The state. |
getStateValue()
public int getStateValue()
Output only. Overall state of PSC Connections management for this consumer psc config.
.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ServiceConnectionMap.ConsumerPscConfig.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServiceConnectionMap.ConsumerPscConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ServiceConnectionMap.ConsumerPscConfig.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ServiceConnectionMap.ConsumerPscConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |