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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static 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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServiceConnectionMap.ConsumerPscConfig.Builder newBuilder()
newBuilder(ServiceConnectionMap.ConsumerPscConfig prototype)
public static ServiceConnectionMap.ConsumerPscConfig.Builder newBuilder(ServiceConnectionMap.ConsumerPscConfig prototype)
public static ServiceConnectionMap.ConsumerPscConfig parseDelimitedFrom(InputStream input)
public static ServiceConnectionMap.ConsumerPscConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(CodedInputStream input)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(InputStream input)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServiceConnectionMap.ConsumerPscConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServiceConnectionMap.ConsumerPscConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ServiceConnectionMap.ConsumerPscConfig getDefaultInstanceForType()
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()
Overrides
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 | |
Overrides
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;
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()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServiceConnectionMap.ConsumerPscConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServiceConnectionMap.ConsumerPscConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ServiceConnectionMap.ConsumerPscConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides