public final class SubscriptionConfig extends GeneratedMessageV3 implements SubscriptionConfigOrBuilder
A message to store a subscription configuration.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig
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
BILLING_ID_FIELD_NUMBER
public static final int BILLING_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBSCRIPTION_ID_FIELD_NUMBER
public static final int SUBSCRIPTION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SubscriptionConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SubscriptionConfig.Builder newBuilder()
newBuilder(SubscriptionConfig prototype)
public static SubscriptionConfig.Builder newBuilder(SubscriptionConfig prototype)
public static SubscriptionConfig parseDelimitedFrom(InputStream input)
public static SubscriptionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SubscriptionConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubscriptionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SubscriptionConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubscriptionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubscriptionConfig parseFrom(CodedInputStream input)
public static SubscriptionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SubscriptionConfig parseFrom(InputStream input)
public static SubscriptionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SubscriptionConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubscriptionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SubscriptionConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBillingId()
public String getBillingId()
Output only. The Google Cloud Billing ID that the subscription is created
under.
string billing_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The billingId.
|
getBillingIdBytes()
public ByteString getBillingIdBytes()
Output only. The Google Cloud Billing ID that the subscription is created
under.
string billing_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for billingId.
|
getDefaultInstanceForType()
public SubscriptionConfig getDefaultInstanceForType()
getParserForType()
public Parser<SubscriptionConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public SubscriptionConfig.SubscriptionState getState()
Output only. The current state of the subscription.
.google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig.SubscriptionState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. The current state of the subscription.
.google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig.SubscriptionState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSubscriptionId()
public String getSubscriptionId()
Output only. The unique identifier of the subscription.
string subscription_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The subscriptionId.
|
getSubscriptionIdBytes()
public ByteString getSubscriptionIdBytes()
Output only. The unique identifier of the subscription.
string subscription_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for subscriptionId.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SubscriptionConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubscriptionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SubscriptionConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides