public final class Data extends GeneratedMessageV3 implements DataOrBuilder
Protobuf type google.cloud.compute.v1.Data
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
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Data getDefaultInstance()
Returns |
---|
Type | Description |
Data | |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Data.Builder newBuilder()
newBuilder(Data prototype)
public static Data.Builder newBuilder(Data prototype)
Parameter |
---|
Name | Description |
prototype | Data
|
public static Data parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Data | |
public static Data parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Data | |
parseFrom(byte[] data)
public static Data parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Data | |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Data parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Data | |
parseFrom(ByteString data)
public static Data parseFrom(ByteString data)
Returns |
---|
Type | Description |
Data | |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Data parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Data | |
public static Data parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Data | |
public static Data parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Data | |
public static Data parseFrom(InputStream input)
Returns |
---|
Type | Description |
Data | |
public static Data parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Data | |
parseFrom(ByteBuffer data)
public static Data parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Data | |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Data parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Data | |
parser()
public static Parser<Data> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Data getDefaultInstanceForType()
Returns |
---|
Type | Description |
Data | |
getKey()
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
optional string key = 106079;
Returns |
---|
Type | Description |
String | The key.
|
getKeyBytes()
public ByteString getKeyBytes()
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
optional string key = 106079;
Returns |
---|
Type | Description |
ByteString | The bytes for key.
|
getParserForType()
public Parser<Data> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getValue()
[Output Only] A warning data value corresponding to the key.
optional string value = 111972721;
Returns |
---|
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
[Output Only] A warning data value corresponding to the key.
optional string value = 111972721;
Returns |
---|
Type | Description |
ByteString | The bytes for value.
|
hasKey()
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
optional string key = 106079;
Returns |
---|
Type | Description |
boolean | Whether the key field is set.
|
hasValue()
public boolean hasValue()
[Output Only] A warning data value corresponding to the key.
optional string value = 111972721;
Returns |
---|
Type | Description |
boolean | Whether the value field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Data.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Data.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Data.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides