- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class InstanceReference.Builder extends GeneratedMessageV3.Builder<InstanceReference.Builder> implements InstanceReferenceOrBuilder
A reference to a Compute Engine instance.
Protobuf type google.cloud.dataproc.v1.InstanceReference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceReference.BuilderImplements
InstanceReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
build()
public InstanceReference build()
Returns | |
---|---|
Type | Description |
InstanceReference |
buildPartial()
public InstanceReference buildPartial()
Returns | |
---|---|
Type | Description |
InstanceReference |
clear()
public InstanceReference.Builder clear()
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
clearField(Descriptors.FieldDescriptor field)
public InstanceReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
clearInstanceId()
public InstanceReference.Builder clearInstanceId()
The unique identifier of the Compute Engine instance.
string instance_id = 2;
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
clearInstanceName()
public InstanceReference.Builder clearInstanceName()
The user-friendly name of the Compute Engine instance.
string instance_name = 1;
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
clearPublicEciesKey()
public InstanceReference.Builder clearPublicEciesKey()
The public ECIES key used for sharing data with this instance.
string public_ecies_key = 4;
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
clearPublicKey()
public InstanceReference.Builder clearPublicKey()
The public RSA key used for sharing data with this instance.
string public_key = 3;
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
clone()
public InstanceReference.Builder clone()
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
getDefaultInstanceForType()
public InstanceReference getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InstanceReference |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInstanceId()
public String getInstanceId()
The unique identifier of the Compute Engine instance.
string instance_id = 2;
Returns | |
---|---|
Type | Description |
String | The instanceId. |
getInstanceIdBytes()
public ByteString getInstanceIdBytes()
The unique identifier of the Compute Engine instance.
string instance_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for instanceId. |
getInstanceName()
public String getInstanceName()
The user-friendly name of the Compute Engine instance.
string instance_name = 1;
Returns | |
---|---|
Type | Description |
String | The instanceName. |
getInstanceNameBytes()
public ByteString getInstanceNameBytes()
The user-friendly name of the Compute Engine instance.
string instance_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for instanceName. |
getPublicEciesKey()
public String getPublicEciesKey()
The public ECIES key used for sharing data with this instance.
string public_ecies_key = 4;
Returns | |
---|---|
Type | Description |
String | The publicEciesKey. |
getPublicEciesKeyBytes()
public ByteString getPublicEciesKeyBytes()
The public ECIES key used for sharing data with this instance.
string public_ecies_key = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for publicEciesKey. |
getPublicKey()
public String getPublicKey()
The public RSA key used for sharing data with this instance.
string public_key = 3;
Returns | |
---|---|
Type | Description |
String | The publicKey. |
getPublicKeyBytes()
public ByteString getPublicKeyBytes()
The public RSA key used for sharing data with this instance.
string public_key = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for publicKey. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InstanceReference other)
public InstanceReference.Builder mergeFrom(InstanceReference other)
Parameter | |
---|---|
Name | Description |
other | InstanceReference |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceReference.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
setInstanceId(String value)
public InstanceReference.Builder setInstanceId(String value)
The unique identifier of the Compute Engine instance.
string instance_id = 2;
Parameter | |
---|---|
Name | Description |
value | String The instanceId to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setInstanceIdBytes(ByteString value)
public InstanceReference.Builder setInstanceIdBytes(ByteString value)
The unique identifier of the Compute Engine instance.
string instance_id = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for instanceId to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setInstanceName(String value)
public InstanceReference.Builder setInstanceName(String value)
The user-friendly name of the Compute Engine instance.
string instance_name = 1;
Parameter | |
---|---|
Name | Description |
value | String The instanceName to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setInstanceNameBytes(ByteString value)
public InstanceReference.Builder setInstanceNameBytes(ByteString value)
The user-friendly name of the Compute Engine instance.
string instance_name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for instanceName to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setPublicEciesKey(String value)
public InstanceReference.Builder setPublicEciesKey(String value)
The public ECIES key used for sharing data with this instance.
string public_ecies_key = 4;
Parameter | |
---|---|
Name | Description |
value | String The publicEciesKey to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setPublicEciesKeyBytes(ByteString value)
public InstanceReference.Builder setPublicEciesKeyBytes(ByteString value)
The public ECIES key used for sharing data with this instance.
string public_ecies_key = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for publicEciesKey to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setPublicKey(String value)
public InstanceReference.Builder setPublicKey(String value)
The public RSA key used for sharing data with this instance.
string public_key = 3;
Parameter | |
---|---|
Name | Description |
value | String The publicKey to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setPublicKeyBytes(ByteString value)
public InstanceReference.Builder setPublicKeyBytes(ByteString value)
The public RSA key used for sharing data with this instance.
string public_key = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for publicKey to set. |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InstanceReference.Builder |