public static final class GetFromFamilyImageRequest.Builder extends GeneratedMessageV3.Builder<GetFromFamilyImageRequest.Builder> implements GetFromFamilyImageRequestOrBuilder
A request message for Images.GetFromFamily. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFromFamilyImageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetFromFamilyImageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetFromFamilyImageRequest build()
Returns
buildPartial()
public GetFromFamilyImageRequest buildPartial()
Returns
clear()
public GetFromFamilyImageRequest.Builder clear()
Returns
Overrides
clearFamily()
public GetFromFamilyImageRequest.Builder clearFamily()
Name of the image family to search for.
string family = 328751972 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public GetFromFamilyImageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetFromFamilyImageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetFromFamilyImageRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetFromFamilyImageRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetFromFamilyImageRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getProject()
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The project.
|
getProjectBytes()
public ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetFromFamilyImageRequest other)
public GetFromFamilyImageRequest.Builder mergeFrom(GetFromFamilyImageRequest other)
Parameter
Returns
public GetFromFamilyImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetFromFamilyImageRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetFromFamilyImageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 | String
The family to set.
|
Returns
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 | ByteString
The bytes for family to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GetFromFamilyImageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProject(String value)
public GetFromFamilyImageRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The project to set.
|
Returns
setProjectBytes(ByteString value)
public GetFromFamilyImageRequest.Builder setProjectBytes(ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for project to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetFromFamilyImageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetFromFamilyImageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides