public static final class GetFromFamilyImageRequest.Builder extends GeneratedMessage.Builder<GetFromFamilyImageRequest.Builder> implements GetFromFamilyImageRequestOrBuilderA request message for Images.GetFromFamily. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFromFamilyImageRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetFromFamilyImageRequest.BuilderImplements
GetFromFamilyImageRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetFromFamilyImageRequest build()| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest |
|
buildPartial()
public GetFromFamilyImageRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest |
|
clear()
public GetFromFamilyImageRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
|
clearFamily()
public GetFromFamilyImageRequest.Builder clearFamily()Name of the image family to search for.
string family = 328751972 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
This builder for chaining. |
clearProject()
public GetFromFamilyImageRequest.Builder clearProject()The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetFromFamilyImageRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFamily()
public String getFamily()Name of the image family to search for.
string family = 328751972 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The family. |
getFamilyBytes()
public ByteString getFamilyBytes()Name of the image family to search for.
string family = 328751972 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for family. |
getProject()
public String getProject()The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetFromFamilyImageRequest other)
public GetFromFamilyImageRequest.Builder mergeFrom(GetFromFamilyImageRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetFromFamilyImageRequest |
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetFromFamilyImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetFromFamilyImageRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
|
setFamily(String value)
public GetFromFamilyImageRequest.Builder setFamily(String value)Name of the image family to search for.
string family = 328751972 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe family to set. |
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
This builder for chaining. |
setFamilyBytes(ByteString value)
public GetFromFamilyImageRequest.Builder setFamilyBytes(ByteString value)Name of the image family to search for.
string family = 328751972 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for family to set. |
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetFromFamilyImageRequest.Builder setProject(String value)The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetFromFamilyImageRequest.Builder setProjectBytes(ByteString value)The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest.Builder |
This builder for chaining. |