public final class ShareSettingsProjectConfig extends GeneratedMessageV3 implements ShareSettingsProjectConfigOrBuilder
Config for each project in the share settings.
Protobuf type google.cloud.compute.v1.ShareSettingsProjectConfig
Static Fields
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ShareSettingsProjectConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ShareSettingsProjectConfig.Builder newBuilder()
Returns
newBuilder(ShareSettingsProjectConfig prototype)
public static ShareSettingsProjectConfig.Builder newBuilder(ShareSettingsProjectConfig prototype)
Parameter
Returns
public static ShareSettingsProjectConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ShareSettingsProjectConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ShareSettingsProjectConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ShareSettingsProjectConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ShareSettingsProjectConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ShareSettingsProjectConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ShareSettingsProjectConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ShareSettingsProjectConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ShareSettingsProjectConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ShareSettingsProjectConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ShareSettingsProjectConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ShareSettingsProjectConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ShareSettingsProjectConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ShareSettingsProjectConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ShareSettingsProjectConfig> getParserForType()
Returns
Overrides
getProjectId()
public String getProjectId()
The project ID, should be same as the key of this project config in the parent map.
optional string project_id = 177513473;
Returns
Type | Description |
String | The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
The project ID, should be same as the key of this project config in the parent map.
optional string project_id = 177513473;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasProjectId()
public boolean hasProjectId()
The project ID, should be same as the key of this project config in the parent map.
optional string project_id = 177513473;
Returns
Type | Description |
boolean | Whether the projectId field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ShareSettingsProjectConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ShareSettingsProjectConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ShareSettingsProjectConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions